I have three different input files, where i need to compare them based on the key field at appropriate position and get 2 output files (matching and non-matching records). The key field is present in the same position in all the three files.
plz correct me if i'm wrong anywhere and suggest me what needs to be put in the control card.
I need to get 2 o/p files:
OUTPUT FILE1: Should contain the matching records from files QTR1FILE and RT7CLSCD and non-matching records from file LITCLSCD.
OUTPUT FILE2: Should contain the matching records from files QTR1FILE, RT7CLSCD and LITCLSCD.
LRECL --> 160
RECFM --> FB
Volume of records --> will be in millions
No. of duplicates --> keep varying
No. of keys used
for comparision --> 1
Lenghth of
key field --> 10
Position of Key --> 147
The DCB properties are same for all the input and output files.
I have 3 files: File1 , File2 , File3 . All of these files contain the records of the same type.
I need to compare these 3 files and get 2 output files.
Output File1 : Should contain the matching records from File1 and File2 and non-matching records from File3.
Output File2 : Should contain all the matching records from 3 files.