I have a requirement like below.
-> I have 2 input files FILE1 and FILE2.
-> Write the matching records into a FILE3.
-> Write the Non matching records from FILE1 into FILE4.
-> Write the Non matching records from FILE2 into FILE5.
The key position in both the Input Files is (1,10).
Can anybody please let me know the SORTCARD, how Can I get this in single step in SyncSort??
Thanks in Advance, Rajasekhar Jannu.
FILL=C'@' pads the charecter '@' to the record produced by JOIN operation, so that this padded charecter can be used later at the time of Filter using INCLUDE
Also, note that only 10bytes have been considered from both the files as you didnt mention the lengths of each file.
Also suggest you to search known mainframe forums and post it here if you dont get the working solution. Hope this helps
Refer this: Joinkeys Guide