Join Contents of Files
Two files can be merged in JCL using JOINKEYS operand of SORT utility. This is similar to the JOIN clause in SQL DB2. The sample JCL is used with both files mentioned in SORTJNF1 and SORTJNF2 and REFORMAT operand. The sort card is substituted as per the requirement. //EXEC PGM=SORT //SYSPRINT DD SYSOUT=* //SYSOUT […]