//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTJNF1 DD DSN=DAY.ONE,...
//SORTJNF1 DD DSN=DAY.TWO,...
//SORTOUT DD DSN=NEW.CHANGED.RECORDS,...
//SYSIN DD *
JOINKEYS FILES=F1,FIELDS=(1,5,A)
JOINKEYS FILES=F2,FIELDS=(1,5,A)
JOIN UNPAIRED,F2
REFORMAT FIELDS=(F2:1,10300,F1:1,10300)
SORT FIELDS=COPY
OUTFIL INCLUDE=(1,256,CH,NE,10301,256,CH,OR,
257,256,CH,NE,10557,256,CH,OR,
513,256,CH,NE,10813,256,CH,OR,
769,256,CH,NE,11069,256,CH,OR,
1025,256,CH,NE,11325,256,CH,OR,
1281,256,CH,NE,11581,256,CH,OR,
1537,256,CH,NE,11837,256,CH,OR,
1793,256,CH,NE,12093,256,CH,OR,
2049,256,CH,NE,12349,256,CH,OR,
2305,256,CH,NE,12605,256,CH,OR,
2561,256,CH,NE,12861,256,CH,OR,
2817,256,CH,NE,13117,256,CH,OR,
3073,256,CH,NE,13373,256,CH,OR,
3329,256,CH,NE,13629,256,CH,OR,
3585,256,CH,NE,13885,256,CH,OR,
3841,256,CH,NE,14141,256,CH,OR,
4097,256,CH,NE,14397,256,CH,OR,
4353,256,CH,NE,14653,256,CH,OR,
4609,256,CH,NE,14909,256,CH,OR,
4865,256,CH,NE,15165,256,CH,OR,
5121,256,CH,NE,15421,256,CH,OR,
5377,256,CH,NE,15677,256,CH,OR,
5633,256,CH,NE,15933,256,CH,OR,
5889,256,CH,NE,16189,256,CH,OR,
6145,256,CH,NE,16445,256,CH,OR,
6401,256,CH,NE,16701,256,CH,OR,
6657,256,CH,NE,16957,256,CH,OR,
6913,256,CH,NE,17213,256,CH,OR,
7169,256,CH,NE,17469,256,CH,OR,
7425,256,CH,NE,17725,256,CH,OR,
7681,256,CH,NE,17981,256,CH,OR,
7937,256,CH,NE,18237,256,CH,OR,
8193,256,CH,NE,18493,256,CH,OR,
8449,256,CH,NE,18749,256,CH,OR,
8705,256,CH,NE,19005,256,CH,OR,
8961,256,CH,NE,19261,256,CH,OR,
9217,256,CH,NE,19517,256,CH,OR,
9473,256,CH,NE,19773,256,CH,OR,
9729,256,CH,NE,20029,256,CH,OR,
9985,256,CH,NE,20285,256,CH,OR,
10241,59,CH,NE,20541,59,CH),
BUILD=(1,10300)
/*