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     Joins on DEFINE Fields

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Joins on DEFINE Fields
 Login/Join
 
Member
posted
I'm getting the following error when trying to open the report in Dev. Studio: Error Parsing MASTER File INCIDENTS ( (FOC370) THE FIELDNAME USED IN JOIN CANNOT BE FOUND IN THE FILE: (FOC282) RESULT OF EXPRESSION IS NOT COMPATIBLE... I've seen numerous postings on this and found applicable cases within the IBI Case system. I've tried what I've seen to no avail. Below is the code.

JOIN CLEAR *
JOIN
INCIDENTS.INCIDENTS.CONTACT_NAME IN INCIDENTS TO MULTIPLE
COMBINED.COMBINED.LOGONID IN COMBINED AS J11
END
JOIN
COMBINED.COMBINED.DEPTID IN INCIDENTS TO MULTIPLE
TBL_DEPTHIER.TBL_DEPTHIER.DEPTCODE IN TBL_DEPTHIER AS J1
END
JOIN
TBL_DEPTHIER.TBL_DEPTHIER.DEPT1 IN INCIDENTS TO MULTIPLE
TBL_DEPARTMENT.TBL_DEPARTMENT.DEPTCODE IN TBL_DEPARTMENT AS J4;
END
TABLE FILE INCIDENTS
PRINT
INCIDENT_ID


Field DEPT1 is a Defined Field in TBL_DEPTHIER

I did put the code below in after the join, and tried the INDEX DEPT1 per case 22142089 with the same result:

DEFINE FILE TBL_DEPTHIER
DEPT1/A20V=DEPT1;
END

Using this as well: ON TABLE PCHOLD FORMAT HTML

Please advise. Thanks.


WebFocus 7.1.4
Windows XP/Intel
HTML, Excel, PDF
 
Posts: 6 | Registered: November 26, 2007Report This Post
Virtuoso
posted Hide Post
I've never used defined fields in a master for a join, wonder 1) is it possible and 2) if so, do you need a 'with a real fieldname' in the join.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Member
posted Hide Post
Thanks for responding. Don't know if it's possible, and I tried the WITH in the JOIN (not sure if I put it in the right place) and incurred the same error. I'll create the DEFINE outside the .mas and post the results. Thanks.


WebFocus 7.1.4
Windows XP/Intel
HTML, Excel, PDF
 
Posts: 6 | Registered: November 26, 2007Report This Post
Member
posted Hide Post
Leah,
What you suggested was correct. I had it syntactically amiss. I was replacing the IN with the WITH (not adding it as another parameter). Here's the correct syntax: JOIN
TBL_DEPTHIER.TBL_DEPTHIER.DEPT1 WITH ORGCHAIN IN INCIDENTS TO MULTIPLE....
Thank you for your time and efforts.


WebFocus 7.1.4
Windows XP/Intel
HTML, Excel, PDF
 
Posts: 6 | Registered: November 26, 2007Report This Post
Virtuoso
posted Hide Post
Your welcome, Rob, glad you got it to working.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report 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     Joins on DEFINE Fields

Copyright © 1996-2020 Information Builders