karthikuma
New User
Joined: 29 Mar 2005 Posts: 62
|
|
|
|
Hi friends,
this was i faced in the interview.
i've two files namely file-1 ,file-11.in file-1 i'm having 5 records namely 1,2,3,4,5 and in file-11 i'm having 5 records 3,6,7,8,2. in this i need an logic of cobol,i need an o/p file as matching in both the file-1 & 11.and non-matching records how to write an cobol logic.any one plz give the logic code for this situation.
file-1 file-11
1 3
2 6
3 7
4 8
5 2
output file
2
3
output file
1
4
5
6
7
8
plz any one give me the syntax of coding for this.
regards,
kumar |
|