i am trying to find the difference between 2 dates.Please find below the JCl step.
//SORT1 EXEC PGM=SORT,PARM='CENTWIN=80'
//SORTIN DD *
120401120101
121101120101
//SORTOUT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
OUTREC FIELDS=(1,6,Y2T,DATEDIFF,7,6,Y2T)
SORT FIELDS=COPY
//SORTIN DD *
120401120101
121101120101
//SORTOUT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
OUTREC FIELDS=(1,6,Y2T,DATEDIFF,7,6,Y2T)
SORT FIELDS=COPY
And i getting abend, below is the error message.
with this statement I think the
its MFX1.4 version. So this should support the datediff function.SYNCSORT FOR Z/OS 1.4.0.1N
SYNCSORT FOR Z/OS 1.4.0.1N U.S. PATENTS: 4210961, 5117495 (C) 2010 SYNCS
z/OS 1.13.0
SYNCSORT LICENSED FOR CPU SERIAL NUMBER 10EAD, MODEL 2817 406 LICE
SYSIN :
OUTREC FIELDS=(1,6,Y2T,DATEDIFF,7,6,Y2T)
*
SORT FIELDS=COPY
WER268A OUTREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
z/OS 1.13.0
SYNCSORT LICENSED FOR CPU SERIAL NUMBER 10EAD, MODEL 2817 406 LICE
SYSIN :
OUTREC FIELDS=(1,6,Y2T,DATEDIFF,7,6,Y2T)
*
SORT FIELDS=COPY
WER268A OUTREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
Can anyone help me on this.
TIA,