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.
Here's some sample code of a report (encumbrances6320.fex) I'm trying to run:
USE Encumbrances2017 AS EncumbrancesAll Encumbrances2018 AS EncumbrancesAll END
TABLE FILE EncumbrancesAll IF RECORDLIMIT EQ 10 PRINT * ON TABLE HOLD AS Encumbrances_82 FORMAT FOCUS END
But I get the following with SET ECHO:
USE Encumbrances2017 AS EncumbrancesAll Encumbrances2018 AS EncumbrancesAll END TABLE FILE EncumbrancesAll IF RECORDLIMIT EQ 10 PRINT * ON TABLE HOLD AS Encumbrances_82 FORMAT FOCUS END -EXIT ERROR AT OR NEAR LINE 56 IN PROCEDURE encumbrances6320 (FOC036) NO DATA FOUND FOR THE FOCUS FILE NAMED: encumbrances2017.foc
ERROR AT OR NEAR LINE 57 IN PROCEDURE encumbrances6320 (FOC036) NO DATA FOUND FOR THE FOCUS FILE NAMED: encumbrances2018.foc
ERROR AT OR NEAR LINE 68 IN PROCEDURE encumbrances6320 (FOC036) NO DATA FOUND FOR THE FOCUS FILE NAMED: ENCUMBRANCESALL
This is what FOC036 is:
(FOC036) NO DATA FOUND FOR THE FOCUS FILE NAMED: %1 Either data cannot be located for the FOCUS file, or access is not allowed. If data cannot be located, a USE command may be needed.
The above code works with WebFocus version 77. However, we're migrating to version 82 and that's where I'm getting the FOC036 error. But if I do a TABLE FILE against one of those 2 focus tables in version 82, I get data.
I don't understand why the USE statement can't get to the data in those 2 focus tables.
Thanks, MarkThis message has been edited. Last edited by: folkie,
WF 8.2.02 App Studio DataMigrator ReportCaster Windows Server 2016
The 2 tables in the USE are focus tables. In the real code I use APP PATH. Like I say, the same code works in version 77.
But minutes ago, I looked at a focexec my co-worker has with a USE and it works fine. She's using different focus tables. I'm trying to figure out what other differences there are between hers and mine.
Thanks, Mark
WF 8.2.02 App Studio DataMigrator ReportCaster Windows Server 2016