Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
files
 Login/Join
 
<lumen>
posted
Hi

I want to compare two sequential files and write the output to a third file.Could anyone help to do this in focus.

cheers
lumen
 
Report This Post
Gold member
posted Hide Post
Sure, MATCH FILE will do it, but what are you trying to accomplish. Is there a quasi key that we can compare or are you only syaing are they an exact match. If that's so, then there might be other utilities that would be better. ARe you trying to get out a report of only the mis-matches, etc.
 
Posts: 60 | Location: 2 penn | Registered: May 22, 2003Report This Post
<lumen>
posted
quote:
I was using MODIFY.But it is not working.The aim is to compare two files on a particular key.If the condition satifies the records should be written to a third file and upadte a field in the third file.
 
Report This Post
Platinum Member
posted Hide Post
There are a few ways to do what you are trying to do. One such method is to use both MATCH and MODIFY. You could use match to compare both files (assuming of course that you have masters describing both files) and then HOLD FORMAT ALPHA.

Using this HOLD file, you could then issue the MODIFY with a FIXFORM to load a third file and update the field as required.

Of course, this all depends on what you are trying to do. What type of condition are you checking? What are you updating in the third file based on the matched records? Are the records of interest in both of the first and second files? What happens if a record doesn't match? Is it tossed?

Ken

This message has been edited. Last edited by: k.lane,


Prod - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Dev - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Databases: Oracle 10g, SQL Server 2000, DB2.
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders