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.
I am running a program in Mainframe FOCUS, Release 7.1.1 that extracts data from several files into their respective HOLD files and then I join the HOLD files to create a combined file. However, when I run the FEX I get the following error message:
TABLE FILE XXXANVC PRINT STU_ID MM301 COL MM450 MM452 RB110 ERROR AT OR NEAR LINE 212 IN PROCEDURE APPLYTX FOCEXEC (FOC003) THE FIELDNAME IS NOT RECOGNIZED: RB110 BYPASSING TO END OF COMMAND RB120 RB205A RB225A
I can't figure this for the life of me!
Here is my code:
TABLE FILE MMFILE -* PRINT -* STU_ID MM301 AS MM301 MM320 AS COL MM450 AS MM450 MM452 AS MM452 -* WHERE MM450 EQ 'CC' WHERE MM301 EQ '&TERM1' OR '&TERM2' OR '&TERM3' OR '&TERM4' -* BY STU_ID -* ON TABLE HOLD AS XXXA&INSTX -* END -* DEFINE FILE RBFILE RB205A /A05 = IF RB205 EQ 'ACCUP' THEN RB205 ELSE ' '; RB225A /P03 = IF RB205 EQ 'ACCUP' THEN RB225 ELSE 0; RB230A /P03 = IF RB205 EQ 'ACCUP' THEN RB230 ELSE 0; RB235A /P03 = IF RB205 EQ 'ACCUP' THEN RB235 ELSE 0; RB240A /P03 = IF RB205 EQ 'ACCUP' THEN RB240 ELSE 0; RB245A /P03 = IF RB205 EQ 'ACCUP' THEN RB245 ELSE 0; RB250A /P03 = IF RB205 EQ 'ACCUP' THEN RB250 ELSE 0; END -* TABLE FILE RBFILE -* PRINT -* STU_ID RB110 RB120 RB205A RB225A RB230A RB235A RB240A RB250A -* WHERE RB120 IS-FROM &HSGRADT1 TO &HSGRADT2 -IF &HS1 EQ 'ALL' GOTO ENDB; WHERE RB110 EQ '&HS1' OR '&HS2' OR '&HS3' OR '&HS4' OR '&HS5' OR '&HS6' OR '&HS7' OR '&HS8' OR '&HS9' OR '&HS10' OR '&HS11' OR '&HS12' OR '&HS13' OR '&HS14' OR '&HS15' OR '&HS16' -ENDB -* BY STU_ID -* ON TABLE HOLD AS XXXB&INSTX -* END -* JOIN STU_ID IN XXXA&INSTX TO STU_ID IN XXXB&INSTX AS MMRB -* TABLE FILE XXXA&INSTX -* PRINT -* STU_ID MM301 COL MM450 MM452 RB110 <==== This is where I get the error message RB120 RB205A RB225A RB230A RB235A RB240A RB250A -* BY STU_ID -* WHERE RB120 IS-FROM &HSGRADT1 TO &HSGRADT2 -IF &HS1 EQ 'ALL' GOTO ENDD; WHERE RB110 EQ '&HS1' OR '&HS2' OR '&HS3' OR '&HS4' OR '&HS5' OR '&HS6' OR '&HS7' OR '&HS8' OR '&HS9' OR '&HS10' OR '&HS11' OR '&HS12' OR '&HS13' OR '&HS14' OR '&HS15' OR '&HS16' -ENDD -* ON TABLE HOLD AS XXXC&INSTX -* END
Thanks to all who respond in advance. I've done joins like this before, and they have always worked just fine.This message has been edited. Last edited by: Kerry,
I figured out how to fix the problem. When I was creating my hold file, on the line I had that said PRINT RB110 as RB110, I put quotes around the RB110, so the line now read PRINT RB110 AS 'RB110' and that worked.
Which brings up another question....why do you need quotes at that particular point?