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.
The error message refers to file A_SID#, however you refer to field name A_SID#. Something isn't adding up. Can you post the JOIN statement that you are using, plus some of the relevant code leading up to that join?
Sean
------------------------------------------------------------------------ PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
Posts: 210 | Location: Ottawa | Registered: November 03, 2005
I do have an END prior to the JOIN, there is some other define code also but not pertaining to the fields for the key to file2, so I omitted it in my POST.
As the xxx file is a DB2 table pulled into the metadata, does that limit the define capbilities, and only lets me use actual fields from xxx in the JOIN statement?
Thanks,
Rayden,
Web Focus version 7.1.4 Server Windows Server 2003
JOIN xxx.A_SID# IN xxx TO ALL yyy.fl17 IN yyy AS J0
When joining on a defined field, you need to specify WITH . That will signal that it's a defined field (in fact a yet-to-be-defined field), and also that the retrieval via the join must be refreshed whenever a new instance of the segment containing the real field is read.
JOIN xxx.A_SID# WITH xxfl6 IN xxx TO ALL yyy.fl17 IN yyy AS J0
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
JOIN xxx.A_SID# IN xxx TO ALL yyy.fl17 IN yyy AS J0
I do believe you need to add a WITH in your join. JOIN xxx.A_SID# WITH FLDA IN xxx TO ALL yyy.fl17 IN yyy AS J0 I've done it against DB2 using a defined field in the join.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
I got it. I was doing 2 things wrong. First the JOIN has to be issued before the DEFINE, and secondly as j.g. stated I needed the WITH to let the JOIN know the field is to be defined.
Thanks to all for your input.
Back to work..
Rayden.
Web Focus version 7.1.4 Server Windows Server 2003