Hi Team,
I am building the Sort join card which match two input files which is of RECFM=FB and LRECL= 80 Bytes and creates the output file on Non matching records from File [F1] . This output will be used along with the SQL query with respect to condition on 'IN' Clause .
First of all, re-order your statements in the sequence they are really used by SORT utility. Otherwise it takes long time trying to understand the actual behavior of your example, and the final result. It doesn't worth to spend so much time for others to analyze any dirty code.
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
balaji81_k.
Or you could add a dummy value in the TRAILER1 in your original control card. REFORMAT and '?-match marker' are not needed if you are interested only in non-matching records from one of the inputs (F1 in this case).