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 ...
vijaykri
 
Posts: 2
Joined: Sat Feb 05, 2011 4:20 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Comparing 2 files

 

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
ibm-cobol/file-match-merge-sample-code-t881.html

which, if You are willing to read contains a starting point for Your urgent issue
cheers
enrico
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
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 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.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post