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.
File Table Name CONNECTION
----- ---------- ----------
ALERT myschema.ALERT MYCONN
I searched and saw some threads regarding reporting from a MASTER file, but couldn't quite ascertain how to pull data from an ACCESS file.This message has been edited. Last edited by: David Briars,
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
The content of an access file follows the rules for a comma-delimited data file.* The attributes can vary, depending on the SUFFIX in the Master file. To the best of my recollection, it always corresponds to a single-segment COM file.
If you set up a Master for a single-segment data file, covering every possible attribute (the NAME part of NAME=VALUE), it should be straightforward to filedef the access file and report its content.
Note that, in multiple-segment synonyms (e.g., cluster joins and business views), there can be multiple segments, and the filename may be absent from the text of the access file. So reporting on a whole library's worth of access files in a single TABLE FILE would take a little more doing.
--- *That used to be true of Master files as well, until DEFINE was introduced.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
I think your acx file should have the DB connection information and not the table/column names. so i am not sure what you are going to report from the access file.
Putting your two code samples together, looks exactly like what I needed:
APP QUERY MYPATH HOLD
-RUN
DEFINE FILE FOCAPPQ
MYNAME/A70 = GETTOK(FILENAME, 70, 1, '.', 70, MYNAME);
END
-*
TABLE FILE FOCAPPQ
PRINT MYNAME
IF FILENAME CONTAINS '.acx'
ON TABLE SAVE AS FNAMES
END
-RUN
-*
APP PATH MYPATH
TABLE FILE SYSTABLE
PRINT NAME AS 'ACX File'
REALNAME AS 'Relational Schema.Table Name'
SERVER AS 'Connection'
IF NAME EQ (FNAMES)
END
-EXIT