OPTION COPY
JOINKEYS F1=INA,FIELDS=(81,1,A),SORTED,NOSEQCK
JOINKEYS F2=INB,FIELDS=(81,1,A),SORTED,NOSEQCK
JOIN UNPAIRED,F1,F2,ONLY
REFORMAT FIELDS=(F1:1,80,F2:1,80),FILL=X'FF'
INREC IFTHEN=(WHEN=(81,80,CH,EQ,80X'FF'),
BUILD=(1,80)),
IFTHEN=(WHEN=NONE,
BUILD=(81,80))
Well, with such little response from you, try this. in place of the SORTIN that you have. However, whether the JNFnCNTL files work with your SyncSort is another thing. You may need three steps.