I am sorting or merge three files to one output file.
//SORT EXEC PGM=SORT
//SYSIN DD *
//SORTIN DD DSN=TSSDN.DATA.CONCATD1,DISP=SHR
// DD DSN=TSSDN.DATA.CONCATD2,DISP=SHR
// DD DSN=TSSDN.DATA.CONCATD3,DISP=SHR
//SORTOUT DD DSN=TSSDN.DATA.CONCATD4,
// DISP=(NEW,CATLG,DELETE),
// STORCLAS=MFI,
// SPACE=(TRK,5),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800,DSORG=PS)
//SYSOUT DD SYSOUT=*
//*
//SYSIN DD *
//SORTIN DD DSN=TSSDN.DATA.CONCATD1,DISP=SHR
// DD DSN=TSSDN.DATA.CONCATD2,DISP=SHR
// DD DSN=TSSDN.DATA.CONCATD3,DISP=SHR
//SORTOUT DD DSN=TSSDN.DATA.CONCATD4,
// DISP=(NEW,CATLG,DELETE),
// STORCLAS=MFI,
// SPACE=(TRK,5),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800,DSORG=PS)
//SYSOUT DD SYSOUT=*
//*
But getting message as:
TSSDNOUT SORT - STEP WAS EXECUTED - COND CODE 0016
----------------------------------------------------------------------------
NO SORT OR MERGE CONTROL STATEMENT
C5-K62149 C6-K90026 E7-K90026
What am I missing? Any assist will be appreciated.
thanks