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     Programatic means of obtaining Adapter and Connection List

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Programatic means of obtaining Adapter and Connection List
 Login/Join
 
Master
posted
Does anyone know if there is a way of programatically obtaining the Adapters and Connections that have been set up in EDASPROF.PRF?

It would be similar to these features.

1. APP QUERY appname HOLD allows you to list files in application
2. SYSTABLE allows you to list masters in your APP PATH.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Virtuoso
posted Hide Post
The EDASPROF.PRF is as far as I know in fact a flat file, maybe you can read it with a master file description and interpret the values.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Platinum Member
posted Hide Post
The 'edasprof.cfg' file is indeed a simple flat *.txt-like file. I've maintained them for years with NotePad and other text editor apps.
Find the full path to yours, FILEDEF it to your *.fex, and TABLE FILE it with a synonym or simply READ it line by line searching for what you want.


WIN/2K running WF 7.6.4
Development via DevStudio 7.6.4, MRE, TextEditor.
Data is Oracle, MS-SQL.
 
Posts: 154 | Location: NY | Registered: October 27, 2005Report This Post
Gold member
posted Hide Post
I did this for a client. Master and fex below. You just need to adjust the path in the FILEDEF to reflect yours.

MFD:
FILE=ADAPT ,SUFFIX=FIX,$
SEGNAME=ADAPTERS,SEGTYPE=S0,$
FIELDNAME=RECVAL ,ALIAS=RECVAL ,USAGE=A6 ,ACTUAL=A6 ,$
FIELDNAME=FILLER01 ,ALIAS=FILLER01 ,USAGE=A200 ,ACTUAL=A200 ,$

FEX:

FILEDEF ADAPT DISK E:\ibi\srv76\wfs\etc\edasprof.prf
DEFINE FILE ADAPT
CONNECT_STRING/A210 = RECVAL || (' ' | FILLER01);
END
TABLE FILE ADAPT
PRINT
CONNECT_STRING AS 'Adapter'
WHERE RECVAL EQ 'ENGINE'
END


WF 7703M, XP/Win7, MRE, RC, BID, PMF, HTML, PDF, Excel 2000/7/10
 
Posts: 73 | Location: NY | Registered: February 06, 2007Report This Post
Master
posted Hide Post
Thanks AlexU - a nice solution.

Ironically I have found out that's exactly what IB do themselves because if you comment a connection in EDASPROF it will appear in the SERVER console as a connection!

John



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 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     Programatic means of obtaining Adapter and Connection List

Copyright © 1996-2020 Information Builders