View previous topic :: View next topic
|
Author |
Message |
sarithakjumla
New User
Joined: 21 May 2010 Posts: 2 Location: mysore
|
|
|
|
Hi all,
There are 2 files, file1 and file2(both are in sorted order).
we have to compare 2 files such that
1)record present in file1 but not in file2 should be moved to output file1.
2)record present in file2 but not in file1 should be moves to output file2.
how to proceed with this(looping details)?
thanx |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
At the top of this cobol part of the forum is a tested sample of a 2-file match-merge (which is what you need to do if i understand).
Simply download the attachment and modify for your particulars. |
|
Back to top |
|
|
|