I would like to know...Is posible merge different files like the next example?:
//SORT EXEC PGM=SORT
//SORTIN DD DSN=TSSDN.DATA.CONCATD1.HXXXXX,DISP=SHR
// DD DSN=TSSDN.DATA.CONCATD1.HXXXXX,DISP=SHR
// DD DSN=TSSDN.DATA.CONCATD1.HXXXXX,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 *
SORT FIELDS=COPY
//*
//SORTIN DD DSN=TSSDN.DATA.CONCATD1.HXXXXX,DISP=SHR
// DD DSN=TSSDN.DATA.CONCATD1.HXXXXX,DISP=SHR
// DD DSN=TSSDN.DATA.CONCATD1.HXXXXX,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 *
SORT FIELDS=COPY
//*
XXXXX is unknown for me, this value change in each execution of jcl...
I think this is hard..but maybe exists any solution?
Thx!