I am in need of matching F1 to F2 keeping both unpaired and paired from F1. I have a sample of the input below. The first 2 records should be in the umpaired output-(NOMATCH). The last record should be in the paired output (MATCH), based on the joinkeys, 2 key fields.
This is all I know to code, as anything else after this is as clear as mud to me. I have executed multiple attempts that yeilded nothing as I am not understanding the reformat fields. I was tring to get the output that is matched and unmatched to contain the entire record 1 - 210, but I am not sure this can be done in this same step, or if the output/s would only contain the key information. Please be kind to my lack of knowledge, and I thank you for any response to this as I need it (like everyone) asap.
//SORT1 EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTJNF1 DD *
//SORTJNF2 DD *
//NOMATCH DD DSN=FN.AD41.FILE1.NOMATCH,
//MATCH DD DSN=FN.AD41.FILE1.MATCH,
//SYSIN DD *
Any help and explanation would be greatly appreciated,