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.
TABLE FILE ACR_DATA
SUM
PER1 AS ''
PER2 AS ''
COMPUTE DIFF1/P32BS = PER2 - PER1; AS ''
PER3 AS ''
PER4 AS ''
COMPUTE DIFF2/P32BS = PER4 - PER3; AS ''
PER5 AS ''
PER6 AS ''
COMPUTE DIFF3/P32BS = PER6 - PER5; AS ''
BY SRTING NOPRINT
BY ORGANIZATION_LEVEL_3 NOPRINT
BY DEPARTMENT_CODE NOPRINT
BY SUBJECT NOPRINT
ON SUBJECT SUBHEAD
That is throwing this error:
0 ERROR AT OR NEAR LINE 383 IN PROCEDURE rom_proj_inst_plan
(FOC003) THE FIELDNAME IS NOT RECOGNIZED: PER4
BYPASSING TO END OF COMMAND
(FOC009) INCOMPLETE REQUEST STATEMENT
because I'm finding that PER4 and PER6 columns may not be in the file: ACR_DATA
Anyone have any creative ways to work-around and perform the COMPUTE only if the column exists?This message has been edited. Last edited by: globalwm,
8.0.02M, Oracle 11.2 (AIX), Windows 2008R2, HTML, PDF, Excel
CHECK FILE ACR_DATA HOLD AS ACRFIELDS
TABLE FILE ACRFIELDS
PRINT FIELDNAME
IF FIELDNAME EQ PER$$
ON TABLE SAVE
END
-RUN
-SET &PER_COUNT = 0 + &RECORDS;
will capture the count (assuming none of the non-varying fieldnames starts with PER); take it from there.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
CHECK FILE ACR_DATA HOLD AS ACRFIELDS
TABLE FILE ACRFIELDS
PRINT FIELDNAME
IF FIELDNAME EQ PER$$
ON TABLE SAVE
END
-RUN
-SET &PER_COUNT = 0 + &RECORDS;
will capture the count (assuming none of the non-varying fieldnames starts with PER); take it from there.