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.
0 NUMBER OF RECORDS IN TABLE= 1647 LINES= 1647 0 ERROR AT OR NEAR LINE 54 IN PROCEDURE ve4y0fpcFOCEXEC * (FOC003) THE FIELDNAME IS NOT RECOGNIZED: J002.TOCACDTV.INV_D BYPASSING TO END OF COMMAND (FOC009) INCOMPLETE REQUEST STATEMENT
When I exclude the J002 fields the query runs properly, but when added the query errors out.
Below is my code. Thanks for your help.
-* Created by Report Assistant -* HTML Tool -* Created by Report Assistant -* FF Line do not change this line! Field Name -* FF Line do not change this line! Alias -* FF Line do not change this line! Format -* FF Line do not change this line! Segment -* FF Line do not change this line! displayTree=0 -* J001 J001 SET ASNAMES=ON
-* Pulled in user defined table - TELCOCODELIST -SET &DBDATA='/users/1/nsuser/ibi/webfocus71/ibi_html/publish/cfo';
FILEDEF TELCOCODES DISK - /users/1/nsuser/ibi/webfocus71/ibi_html/publish/cfo/telcocodes.csv -RUN TABLE FILE TELCOCODES PRINT * BY TELCO_CODE ON TABLE HOLD AS TELCOCODESHOLD FORMAT FOCUS INDEX TELCO_CODE END
JOIN CLEAR *
JOIN TELCO_CODE IN TELCOCODESHOLD TO MULTIPLE TELCO IN MBANTAB TAG J001 AS J001 END
JOIN MBANTAB.MBANTAB.BAN_N IN MBANTAB TO MULTIPLE TOCACDTV.TOCACDTV.BAN_N IN TOCACDTV TAG J002 AS J002 END
I don't know if this is your problem, but both of your hold file "TELCOCODESHOLD" is more than 8 characters. WebFocus still has some problems if you filedef a file to a virtual name that is longer than 8 characters. As I recall, the error messages in that case are deceptive, and don't indicate the real problem.
Hi. I think the issue is with the join. For the first join TELCOCODESHOLD is the host. It needs to stay the host for the 2nd join. Second join should be:
JOIN MBANTAB.MBANTAB.BAN_N IN TELCOCODESHOLD TO MULTIPLE TOCACDTV.TOCACDTV.BAN_N IN TOCACDTV TAG J002 AS J002 END
Posts: 118 | Location: DC | Registered: May 13, 2005
I"m not sure what you've tried so please forgive that some of these questions are pretty simple:
1. Are the field formats for BAN Number on MBANTAB to TOCACDTV the same? Check the data dictionary not just the master, in case they are alpha. (Check char vs. varchar)
2. Try the join without TELCOCODESHOLD. Can you get data for the MBANTAB and TOCACDTV join with a where statement on one of the telco codes from TELCOCODESHOLD? (Just pull one out of the hold file to test with).
3. Is this cross platform? Either way, can you turn on SQL trace and see what SQL is getting generated under the covers?
Posts: 118 | Location: DC | Registered: May 13, 2005