Hi,
I'm looking for a solution how to read vol serial number of a TMS dataset (which is dynamic) and pass that value in a JCL,
For eg:
//COPY EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=(,)
//IN DD DSN=inputfile,
// DISP=SHR,
// UNIT=CTAPE,VOL=SER=VOLSER
//OUT DD DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// DCB=(LRECL=10,BLKSIZE=0,RECFM=FB),
// DSN=outputfile
//SYSIN DD *
Currently i'm manually passing the vol ser number but i need this to be done automatically.
Kindly help me on this.