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 files. One named "DIST_RPT" that has all the data I need for a report including Account numbers. The other file is named "EXCLUDE_ACCOUNTS" that only has a list of Accounts that I want to exclude from the report. I am pretty new to WF and I am having trouble getting a resulting file that has all the data from DIST_RPT but excludes the rows with the Account numbers that are in EXCLUDE_ACCOUNTS. Can anyone help? Any suggestions would be appreciated. I looked in the Help manuals and they show the syntax for Match/Merge for merging files, but not how to 'Exclude' accounts from file 1 based on the accounts that are in file 2.This message has been edited. Last edited by: Kerry,
If you use MATCH, use the OLD-NOT-NEW option. The WHERE field NOT IN FILE would also work well if you can stay within the byte limit. Multiply the length of the account number by the number of rows in the exclude file. It needs to be LE 16000 for a relational host and 32K for others.
MATCH FILE DIST_RPT PRINT * BY ANY_FIELD_VALUE RUN FILE EXCLUDE_ACCOUNTS BY ANY_FIELD_VALUE(THIS SHUD BE SAME AS ABOVE) AFTER MATCH HOLD AS HOLD-FILE-NAME OLD-NOT-NEW END -RUN
Ted, Would you care to share your solution with us? A lot of people are thinking along with you and trying to help you, and it is somewhat disappointing to only read that it is solved. How? Did our suggestion help in any way? Or did you do things differently? We can always learn from someone else's experiences. And if the problem is really solved, please update the topic to indicate that.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007