Hi Dick,
Good Morning.
According to the SYNCSORT FOR Z/OS 1.4.1,
The following piece of code concatenates the three input files(VSAM+non VSAM files).
//STEP1 EXEC PGM=SYNCSORT,PARM=MULTIIN
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTMI1 DD DSN=INPUT1,DISP=SHR * VSAM
//SORTMI2 DD DSN=INPUT2,DISP=SHR * VSAM
//SORTMI3 DD DSN=INPUT3,DISP=SHR * Flat file
//SORTOUT DD DSN=OUTPUT1,
// DISP=(NEW,CATLG,DELETE),
// .....
//SYSIN DD *
SORT FIELDS=(1,12,CH,A)
/*
Which, with just a sort with inputs defined by SORTIN without the use of MULTIIN parm would have thrown me the following error:
WER254A SORTIN VSAM OPEN ERROR -- BC
I am just intrigued to know why this cannot be accomplised by just SORT FIELDS statement (not just SORT FIELDS=COPY), as JOINKEYS also does some kind of sorting.
Thanks