How to compaire two or more files in cobol



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

How to compaire two or more files in cobol

Postby sonukumar » Mon Sep 05, 2016 10:35 pm

Dear All

i wanted to know that how can we compare two files in cobol. suppose we have two files like customer mobile number in one file and in another file have customer mobile number and customer address.
Thanks
sonukumar
 
Posts: 2
Joined: Mon Sep 05, 2016 10:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to compaire two or more files in cobol

Postby Akatsukami » Mon Sep 05, 2016 10:45 pm

Please see the program attached to this thread. Note that would be preferable (IMNSHO) to use *Sort for this.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: How to compaire two or more files in cobol

Postby sonukumar » Mon Sep 05, 2016 10:49 pm

Thanks, it works
sonukumar
 
Posts: 2
Joined: Mon Sep 05, 2016 10:19 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post