I tried your sample code it encounters below error. Let me know if I miss interpreted any..
SYNCSORT FOR Z/OS 1.4.0.1R
SYSIN :
SORT FIELDS=COPY
OUTFIL REMOVECC,NODETAIL,
HEADER1=(3:'OPTION COPY',/,
3:'OUTFIL FNAMES=(FILE1,FILE2),SPLIT1R=',JP1)
*
WER131I PARM FIELD ERROR - JP1"5000
WER268A OUTFIL STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
SYSIN :
SORT FIELDS=COPY
OUTFIL REMOVECC,NODETAIL,
HEADER1=(3:'OPTION COPY',/,
3:'OUTFIL FNAMES=(FILE1,FILE2),SPLIT1R=',JP1)
*
WER131I PARM FIELD ERROR - JP1"5000
WER268A OUTFIL STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Thanks,
Raj.