Hi Frank,
I have two files (FILE A and FILE B). The file LRECL, RECFM and type for both files are 13, FB, CH. I want to Compare FILE A and FILE B. If the File A record is in FILE B I want to write it in FILE C. If the file FILE A record is not in FILE B I want to write it in file D.
Can you please help me on this...
The data in each file is like below:
Input Files:
FILE A:
00018-0004787
00018-0004808
00042-0000023
00042-0002140
FILE B:
00018-0004370
00018-0004565
00018-0004787
00026-0000580
Output Files:
FILE C:
00018-0004787
FILE D:
00018-0004808
00042-0000023
00042-0002140