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 have 2 tables(CAR and BIKE): CAR: BMW BENZ SUZUKI
BIKE: BMW SUZUKI HARLEY DAVIDSON HONDA
I want to do a cartesian join between these 2 tables where my output has all the brands of car and bike listed OUTPUT: BMW BENZ SUZUKI HARLEY DAVIDSON HONDA
I tried doing: JOIN car.brand IN CAR TO ALL/MULTIPLE bike.brand IN BIKE AS J0 END
TABLE FILE CAR PRINT * END
This behaves like a left outer join and gives me the output as:
BMW BENZ SUZUKI
I also tried : JOIN car.brand IN CAR TO ALL/MULTIPLE bike.brand IN BIKE AS J0 ON TABLE HOLD AS WOW END
TABLE FILE WOW PRINT * END
This threw an error: (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: WOW
Im very new to webFocus and I have been sitting on this for too long now. Any help is appreciated..This message has been edited. Last edited by: Kerry,
Thanks Frank. This worked for the columns with the same name like u mentioned, but I need more than this. Here is my real table structure and the real code...I have 2 tables PLANDATA and ACTUALDATA Columns of PLANDATA: GONBR JOBNO PLANAMT PLANDATE
Columns of ACTUALDATA: GONBR JOBNO ACTUALAMT ACTUALDATE
I want to join these 2 tables to display all values of both tables:
GONBR JOBNO PLANAMT PLANDATE ACTUALAMT ACTUALDATE
How do I do this?
I might also want to add more tables to the join in my next task. How do I add the extra tables to this...
Once again thank u so much for your quick response
Thanks Frank and Waz When I use define to rename and format the changes on the field(planamt and costamt), the values of both planamt and costamt is merged into a single column. This is not what I want. My output should still be GONBR, JOBNO, PLANAMT, PLANDATE, ACTUALAMT,ACTUALDATE. How do I achieve this?
MATCH FILE this
WRITE (list of dependent columns specific to This)
BY (fields in common)
RUN
FILE that
WRITE (list of dependent columns specific to That)
BY (fields in common)
AFTER MATCH HOLD OLD-OR-NEW
END
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005