Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Error (FOC003) THE FIELDNAME IS NOT RECOGNIZED

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Error (FOC003) THE FIELDNAME IS NOT RECOGNIZED
 Login/Join
 
<BrianS>
posted
I'm getting the following error

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';

-*SET &FROM_D = '20061201';
-*SET &TO_D = '20061231';

APP MAP TEMP2 &DBDATA
APP APPENDPATH TEMP2

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


TABLE FILE TELCOCODESHOLD
PRINT TELCOCODESHOLD.TELCO_CODE
TELCOCODESHOLD.TCO_N
TELCOCODESHOLD.ANALYST_SP
MBANTAB.BAN_N
J002.TOCACDTV.INV_D
J002.INV_D
J002.TOCACDTV.MCI_PO_N
J002.TOCACDTV.AUDIT_N
J002.TOCACDTV.OCC_A
J002.TOCACDTV.OCC_FR_D
J002.TOCACDTV.OCC_TO_D
J002.TOCACDTV.SO_N
J002.TOCACDTV.PHR_C
J002.TOCACDTV.EC_CKT_N
J002.TOCACDTV.SAMPLE_I
J002.TOCACDTV.RCR_NONRCR_I
J002.TOCACDTV.OCL_LOC_CD
J002.TOCACDTV.JUR_I
J002.TOCACDTV.ST_C



ON TABLE PCHOLD FORMAT HTML

-*WHERE J001.TOCACDTV.INV_D FROM '&FROM_D' TO '&TO_D';

-*ON TABLE HOLD AS CABSBASEHOLD

END


-* End Report Assistant
 
Report This Post
Guru
posted Hide Post
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.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Platinum Member
posted Hide Post
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, 2005Report This Post
<BrianS>
posted
That join returned the following.

0 NUMBER OF RECORDS IN TABLE= 1647 LINES= 1647
0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0
 
Report This Post
Platinum Member
posted Hide Post
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, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Error (FOC003) THE FIELDNAME IS NOT RECOGNIZED

Copyright © 1996-2020 Information Builders