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     [SOLVED] (FOC1131) INVALID FIELDNAME

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] (FOC1131) INVALID FIELDNAME
 Login/Join
 
Silver Member
posted
I have masterfile with several joins and I get an error when I execute the fex against it. I have researched and checked several possible causes, but still get the error. The field in question is the same format as the join field in the parent. What's causing this error?

(FOC1131) INVALID FIELDNAME CO_NBR FOR IXFLD. EMP-VIEW LN 93

WF 5.3.3

This message has been edited. Last edited by: Kerry,
 
Posts: 47 | Registered: March 29, 2005Report This Post
Platinum Member
posted Hide Post
You will probably need to provide the master and fex. Even better if you could reproduce the error on an IBI sample file such as CAR.

Remember, a particular error message can have many different causes and situations where it might occur. Someone here might be able to get a lucky guess to solve your issue, but better would be for you to start by providing the master and fex.


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
Silver Member
posted Hide Post
Error message:
(FOC1131) INVALID FIELDNAME PRISM_CO_NBR FOR IXFLD. EMP-VIEW LN 93
1
0 NUMBER OF RECORDS IN TABLE= 124459 LINES= 124459
0



Masterfile:

FILE=emp-view, SUFFIX=SQLORA
SEGNAME=EMPLOYEE, SEGTYPE=S0, $
FIELD=EMPLOYEE_NBR, ALIAS=EMPLOYEE_NBR, USAGE=P10, ACTUAL=P6, TITLE='Employee,Number', DESCRIPTION='10-character employee number', HELPMESSAGE='10-character employee number', $
FIELD=PRISM_CO_NBR, ALIAS=PRISM_CO_NBR, USAGE=P2, ACTUAL=P2, MISSING=ON, DESCRIPTION='PRISM Company Number', HELPMESSAGE='PRISM Company Number', $
.
.
.
.
SEGNAME=COMPANY, SEGTYPE=U, PARENT=EMPLOYEE, $
FIELD=PRISM_CO_NBR, ALIAS=PRISM_CO_NBR, USAGE=P2, ACTUAL=P2, MISSING=ON, DESCRIPTION='PRISM Company Number', HELPMESSAGE='PRISM Company Number', $
FIELD=COMPANY_DESC, ALIAS=COMPANY_DESC, USAGE=A50, ACTUAL=A50, $
FIELD=GEN_LED_CO_NBR, ALIAS=GEN_LED_CO_NBR, USAGE=A3, ACTUAL=A3, MISSING=ON, TITLE='General,Ledger,Company,Number', $
FIELD=HR_CO_NBR, ALIAS=HR_CO_NBR, USAGE=A2, ACTUAL=A2, MISSING=ON, $

Access File

SEGNAME=COMPANY,
KEYFLD=PRISM_CO_NBR,
TABLENAME=HR.COMPANY,
KEYS=1,
IXFLD=PRISM_CO_NBR,
CONNECTION=xxxxx,$
 
Posts: 47 | Registered: March 29, 2005Report This Post
Expert
posted Hide Post
And what is the Master and Field on the othere side of the join ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
The error message refers to your foreign key, but your host key field, PRISM_CO_NBR, occurs twice in the EMP-VIEW master - once in the EMPLOYEE segment and again in the COMPANY segment. Maybe that is the problem.


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Silver Member
posted Hide Post
Changed the alias to COMPANY_NBR in the COMPANY segment and didn't get the error. However, I had tried that before and still got an error. It's working now. Thanks, I appreciate all reponses.
 
Posts: 47 | Registered: March 29, 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     [SOLVED] (FOC1131) INVALID FIELDNAME

Copyright © 1996-2020 Information Builders