As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am attempting to set up dynamic security on a synonym that we will be using for infoassist.
Basically, a WEBFOCUS should only have access to certain RepNumbers. We want to have a stored procedure that will be passed the WEBFOCUS user id and lock down the synonym to those rep numbers.
Here is what I have so far.
END DBA=DBA, $ USER=, ACCESS=R, RESTRICT=VALUE_WHERE, NAME=SYSTEM, VALUE=REP.REPNUMBER IN FILE synonym1.ANSWERSET1.REPNUMBER;, $
Synonym1 is master that is a stored procedure. When I hooked it up to a report I get this error message.
0 ERROR AT OR NEAR LINE 1 IN PROCEDURE Report1.fexFOCEXEC * (FOC351) INPUT FILE NOT ALLOCATED: synonym1.ANSWERSET1.REPNUMBER (FOC009) INCOMPLETE REQUEST STATEMENT BYPASSING TO END OF COMMAND
I feel like I am close but am missing something. Thoughts?
Thanks for your help in advanceThis message has been edited. Last edited by: Tamra,
WebFOCUS 8 Windows, All Outputs
Posts: 49 | Location: United States | Registered: April 21, 2015
A helpful diagnostic test would be to see if the master works when you hardcode VALUE=.
Doc says: "The test is an expression supported in a WHERE phrase." You could see if this would work as a where test in a report just to make sure it behaves the way you expect.
Also, I'm pretty sure this syntax for WHERE compares a field with the values in a temp file. For instance, if you try this code HOLD will contain ENGLAND and JAPAN and when you test against HOLD you only get cars from those two countries.
TABLE FILE CAR
BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'JAPAN';
ON TABLE HOLD
END
TABLE FILE CAR
SUM RCOST
BY CAR
WHERE COUNTRY IN FILE HOLD
END
This message has been edited. Last edited by: BabakNYC,
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
The best approach would be to use a master file profile. Look it up in the doc. Syntax is FILE = filename, SUFFIX = suffix, MFD_PROFILE = app/fexname,$
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
Thank your for participating in the Focal Point Forum, Tamra Colangelo Focal Point Moderator Information BuildersThis message has been edited. Last edited by: Tamra,
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
Posts: 487 | Location: Toronto | Registered: June 23, 2009