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     [SOLVED]Find current connection TNS name

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Find current connection TNS name
 Login/Join
 
Gold member
posted
Is there a variable or a way to get the TNS name behind the Connection name?

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8.0.07 and 8.2.01M
UNIX, WINDOWS, ORACLE
PDF, CSV, Excel, TXT, XML, HTML
 
Posts: 65 | Location: Maryland | Registered: January 17, 2012Report This Post
Virtuoso
posted Hide Post
Do you have access to the Reporting Server Console? You can look at the properties of the connection under Adapters.

You could also create a simple fex with this code in it:
SQL SQLORA ?

This message has been edited. Last edited by: BabakNYC,


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
Sorry for the delay in responding... thanks for getting me on the right path.

Yes I could go to the console to get the information but I wanted a way to display it to the users in a dashboard setting. The below code helped create the amper to use for displaying.

SQL SQLORA
select ora_database_name from dual;
TABLE
ON TABLE HOLD AS GETNAME
END
-RUN
-READ GETNAME &ORA_DATABASE_NAME.A4000

Worked like a charm!


WebFOCUS 8.0.07 and 8.2.01M
UNIX, WINDOWS, ORACLE
PDF, CSV, Excel, TXT, XML, HTML
 
Posts: 65 | Location: Maryland | Registered: January 17, 2012Report 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     [SOLVED]Find current connection TNS name

Copyright © 1996-2020 Information Builders