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 currently using WebFOCUS 5.2.3 and we are doing DB2 SQL pass-thrus for data acquisition.
In the edasprof.prf file, we have defined several connection attributes, each consisting of the database alias, the application id and the password.
As an example:
ENGINE DB2 SET CONNECTION_ATTRIBUTES MISTDATA/xxxxxx,yyyyy
Then, in our FEX programs, we have the following code to connect to the database to run SQLs:
SET SQLENGINE=DB2 SQL DB2 SET DEFAULT_CONNECTION MISTDATA SQL DB2 SELECT ..... END ; TABLE FILE....
We need to find out a way to access the same database, but through a different user ID. We require this because on our production month-end day, we want to use DB2 governor to block all access to the database through that application id, meanwhile, our team can continue to run reports using this alternative id.
Is there anyway in the FEX program to hard-code the DB2 connection string directly? We have a flag variable that we can manually set to enable or disable this special access. We don't mind to expose the user id and password in the program.
there is a lot of information on DB2 security settings (Explicit, passthru, trusted) and primary/secondary ID usage in the adapter section of help. You can access this from the console by clicking on the little green ? next to security in the adapter configuration windows. If Francis' suggestion doesn't do it (which I think it should) try ready through that section. Looks like some of it may apply to your situation.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007