First of all, sorry my english. I m trying the next:
I have a dataset DES.BDK.JCJCL10.STEP2 with the next content:
//SORTIN DD DSN=DES.DESBCJ.JURI.KON,DISP=SHR
// DD DSN=DES.DESBCJ.JURI.KOZ,DISP=SHR
// DD DSN=DES.DESBCJ.JURI.KOZ,DISP=SHR
Could I use the content of the dataset in the input of SORT?. Something like this:
//SORT01T EXEC PGM=SORT,REGION=2M,COND=(0,NE)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
// DD DSN=DES.BDK.JCJCL10.STEP2,DISP=SHR
//SORTOUT DD DSN=DES.BDK.JCJCL10.SORT01T,
// DISP=(,CATLG,CATLG),
// SPACE=(TRK,(100,225),RLSE),
// DCB=(RECFM=FB,LRECL=20431,BLKSIZE=0,DSORG=PS)
//SYSIN DD *
SORT FIELDS=COPY
//
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
// DD DSN=DES.BDK.JCJCL10.STEP2,DISP=SHR
//SORTOUT DD DSN=DES.BDK.JCJCL10.SORT01T,
// DISP=(,CATLG,CATLG),
// SPACE=(TRK,(100,225),RLSE),
// DCB=(RECFM=FB,LRECL=20431,BLKSIZE=0,DSORG=PS)
//SYSIN DD *
SORT FIELDS=COPY
//
Maybe I m doing something imposible. Excuse me, if my english is not OK..
Thank you.
Regards