Comparing 2 files

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Comparing 2 files

Postby vijaykri » Sat Feb 05, 2011 4:31 pm

Team ,,

I believe you will help me at the earliest ,,,

I have 2 input files which are in SORTED order.

I need to WRITE 2 O/P file.

1st output File which contains only Matched Records from both the Input file 1 & 2
2nd Output file which contain only Unmatched records from both the Input file 1 & 2

Please help me ...
Posts: 2
Joined: Sat Feb 05, 2011 4:20 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Comparing 2 files

Postby enrico-sorichetti » Sat Feb 05, 2011 4:42 pm

I believe you will help me at the earliest ,,,

You belief is plain wrong

remember ...
replying on a forum is on voluntary basis
on our own time(*)
(*) or in other words when we feel like, not when You believe we should
free of charge

if You have time constraint get a paid consultant
or even better learn to read...
when You go to the COBOL part of the forums
the very first topic ( sticky )is
2-file match/merge sample code

which, if You are willing to read contains a starting point for Your urgent issue
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
Global moderator
Posts: 2978
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 160 times

Re: Comparing 2 files

Postby NicC » Sat Feb 05, 2011 9:27 pm

Or even just use the search facility as this question is asked so many times.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Global moderator
Posts: 3026
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Return to IBM Cobol


  • Related topics
    Last post