ABCDEFGHJ XYZ= 1
ABCD XYZ= 4
ABCD XYZ= 4
ABCDEFGH XYZ= 2
ABCD XYZ= 1006
ABCD%% XYZ=10000
ABCD1212121 XYZ= 50
ABCD XYZ= 4
ABCD XYZ= 4
ABCDEFGH XYZ= 2
ABCD XYZ= 1006
ABCD%% XYZ=10000
ABCD1212121 XYZ= 50
to
ABCDEFGHJ XYZ=1 ie . to Left JUSTIFY '5' collums after XYZ=
ABCD XYZ=4
ABCD XYZ=4
ABCDEFGH XYZ=2
ABCD XYZ=1006
ABCD%% XYZ=10000
ABCD1212121 XYZ=50
ABCD XYZ=4
ABCD XYZ=4
ABCDEFGH XYZ=2
ABCD XYZ=1006
ABCD%% XYZ=10000
ABCD1212121 XYZ=50
On test LPAR the following works and i get the output it want, OUTREC BUILD=(1,16,17,21,SQZ=(SHIFT=LEFT))
//EXCLUDE EXEC PGM=SYNCTOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//INDD DD DISP=SHR,DSN=TEST.SORT5
//OUTDD DD DISP=OLD,DSN=TEST.SORT6
//SRT1CNTL DD *
OPTION COPY
OUTREC BUILD=(1,16,17,21,SQZ=(SHIFT=LEFT))
/*
//SYSPRINT DD SYSOUT=*
//TOOLIN DD *
COPY FROM(INDD) TO(OUTDD) USING(SRT1)
/*
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//INDD DD DISP=SHR,DSN=TEST.SORT5
//OUTDD DD DISP=OLD,DSN=TEST.SORT6
//SRT1CNTL DD *
OPTION COPY
OUTREC BUILD=(1,16,17,21,SQZ=(SHIFT=LEFT))
/*
//SYSPRINT DD SYSOUT=*
//TOOLIN DD *
COPY FROM(INDD) TO(OUTDD) USING(SRT1)
/*
But on production the same job gives Syntax error :
SRT1CNTL :
OPTION COPY
OUTREC BUILD=(1,16,17,21,SQZ=(SHIFT=LEFT))
*
WER428I CALLER-PROVIDED IDENTIFIER IS "0001"
WER268A OUTREC STATEMENT : SYNTAX ERROR
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
OPTION COPY
OUTREC BUILD=(1,16,17,21,SQZ=(SHIFT=LEFT))
*
WER428I CALLER-PROVIDED IDENTIFIER IS "0001"
WER268A OUTREC STATEMENT : SYNTAX ERROR
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
It looks like SQZ and JFY wont be working , Hope so some APARs may be missing .
Can anyone help me to get sort the above without SQZ or JFY ?
Code'd some more