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.
I am trying to join a hold file up to my master file (synonym) two separate times to different portions of the file.
I get the error "JOIN FROM fields belong to different segments :
As far as pseudo code goes, here is what I'm trying to do.
TABLE FILE CAR
SUM
DEALER_COST
BY COUNTRY
ON TABLE HOLD AS 'H1'
END
JOIN INNER _ADM_STAR.FACT1.COUNTRY IN _ADM_STAR TO COUNTRY IN H1 AS J0
END
JOIN INNER _ADM_STAR.FACT2.COUNTRY IN _ADM_STAR TO COUNTRY IN H1 AS J2
END
Does anyone have an idea how to solve this?This message has been edited. Last edited by: Brandon Andrathy,
Is there any other solution to this? I tried to make them as separate SQL Scripts and also tried a JOIN Clear on a separate hold file and that didn't work.
If I try to put the reports as separate .fexes, I'd still need to join them up. Hoping there's another way to get around this.
Sure that we are missing several information such as how _ADM_STAR is organized, but seems that the error comes from there.
Are you able to run (pay attention that I have INDEXed the HOLD table 1- With only first JOIN & its fields ? Run as is 2- With only second JOIN & its fields ? Invert the commented lines 3- With the whole thing ? Remove all comments
TABLE FILE CAR
SUM DEALER_COST
BY COUNTRY
ON TABLE HOLD AS 'H1' INDEX COUNTRY
END
-RUN
-*-* For first test run
JOIN INNER _ADM_STAR.FACT1.COUNTRY IN _ADM_STAR TO COUNTRY IN H1 AS J0
END
-*-* For second test run
-*JOIN INNER _ADM_STAR.FACT2.COUNTRY IN _ADM_STAR TO COUNTRY IN H1 AS J2
-*END
TABLE FILE _ADM_STAR
SUM
-*-* For first test run
J0.DEALER_COST
-*-* For second test run
-* J1.DEALER_COST
-* For first test run
BY FACT1
BY J0.COUNTRY
-*-* For second test run
-*BY FACT2
-*BY J1.COUNTRY
END
-RUN
I do this often to JOIN twice to the same table. If it doesn't work it may be related to the parent table _ADM_STAR
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013