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 two procedures with this in common: Both have two fields that when combined are unique (key). The created key in both procedures are identical.
I want one report with data from both procedures. Actually, I want all the data from one procudure and only data from the other procedure where the combined 'key' fields are the same.
How do I do this in WebFOCUS. By the way, I don't know how to write code. I'm a GUI person.
Other way around for me. I'm a coder. But I'll try to help anyway.
Let's establish a vocabulary. Let's say procedure A creates hold file A1, and procedure B creates hold file B1. If you want the combine to take place immediately after A1 and B1 are created, then you probably want another procedure - call it C - that includes or executes A and B. You can do that with the GUI.
After A1 and B1 are created, you want the combine them with MATCH FILE. Click on the diamond after B and look for MATCH. Click that. The GUI will attempt to guide you through the process. I hope the help you get there is good enough, because it would be pretty complicated to explain here. If you have a creating reports manual, look for MATCH FILE. Even if you don't write code, then explanation should help.
dwf
Posts: 135 | Location: Portland, OR | Registered: March 23, 2005
The procedures are not in the list of tables when I choose MATCH from the diamond. Our DBA do not know how to give me access to this. Any help will be appreciated.
You have to run your routines at least once to create the hold files. Master files will be created at that time, and it is the two masters you want to look for when you choose the match diamond. It is very possible that your hold files and masters are being written to temp space, which means they aren't being saved. You want to reasearch the command APP HOLDMETA to overcome that. SET TEMPDIR will do the same thing, I think. The point of all that is to persuade WebFOCUS to actually save the master file descriptions created with the HOLD statement, so you can use them in the MATCH.
And, as Anatess suggested, you should also be able to use join. It might even be a little easier. If you hold your file with FORMAT FOCUS, the join will almost certainly work better than the MATCH, anyway.
Lot of stuff to have to manage, huh?
dwf
Posts: 135 | Location: Portland, OR | Registered: March 23, 2005