Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Variable for connection string

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Variable for connection string
 Login/Join
 
Member
posted
Hi guys and gals… got a quick question for all of you. On our reports, we display the connection string to the database from which the data is coming. We have been hard coding that value in on our reports. Is there a WebFOCUS variable that will display the connection for the data adapter?

Thanks much!


Dev 7.1.4 WinNT SQL Server 2005 DB
Prod 7.1.4 WinNT SQL Server 2000 DB
 
Posts: 24 | Location: Nashville TN | Registered: May 18, 2006Report This Post
Expert
posted Hide Post
I'm not sure if that's possible - you can access more than one database in the same fex, how would WebFOCUS pass information for each of the adapters you connected to?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Well I was looking for a variable that would be similar to adaptername.connectionstring so that you can concatenate them together if you are crossing databases.


Dev 7.1.4 WinNT SQL Server 2005 DB
Prod 7.1.4 WinNT SQL Server 2000 DB
 
Posts: 24 | Location: Nashville TN | Registered: May 18, 2006Report This Post
Member
posted Hide Post
Hi,
I just wanted to know if you ever came up with a solution for displaying your connection string to the database in your reports? I have a similar requirement and wanted to know how you accomplished this.

Thanks for any info.


WF 7.6.4 platform: Windows, databases: Oracle, browser:IE6
 
Posts: 10 | Registered: September 11, 2007Report This Post
Guru
posted Hide Post
Francis, our webfocus admins do all that for us - they just create master files with corresponding acx files that point to where the data is coming from which can be a totally different database engine. All we measley programmers have to do is pick whichever master file we want to use and they can worry about what db to store that data in, so we can have several databases in one fex possibly.


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Expert
posted Hide Post
Obviously, but the original question was how to display the connection string of the request for each data adpater.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Yes, that was my question...I need to display the connection string on my reports and I'm not sure how to go about that.


WF 7.6.4 platform: Windows, databases: Oracle, browser:IE6
 
Posts: 10 | Registered: September 11, 2007Report This Post
Expert
posted Hide Post
I don't know if you can pipe the output of this command to a file and read it but try looking at the output of this:

SQL SQLORA ?

Run this in an adhoc window.

If you have multiple connections, run this after setting the default connection to the one you are using as opposed to the first one defined.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Variable for connection string

Copyright © 1996-2020 Information Builders