Hi,
I wonder if it's possible to join several generation datasets to one file and I want them to be copied in the order they we're created as gdg:s ?
I've tried to use utility IEBGENER but it didn't work as I wanted because the latest created gdg (G0002V00) came first in the output file (SYSUT2) and then came G0001V00.
I've got two generation file as shown below:
RXX.TEST.RXXFILE.COPY ??????
RXX.TEST.RXXFILE.COPY.G0001V00 TEST6A
RXX.TEST.RXXFILE.COPY.G0002V00 TEST6A
Then I execute this jcl:
//RXXCONC EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=RXX.TEST.RXXFILE.COPY,DISP=SHR
//SYSUT2 DD DSN=RXX.TEST.RXXCONC,
// DISP=(,CATLG),DATACLAS=TL
Sincerely,
Mikael