my Job is triggered by a DS (PREFIX.JOBNAME.START) containing one line with a DS-Name (=DSXYZ). This DSXYZ is variable, eg. PREFIX.JOBNAME.D123456 or PREFIX.JOBNAME.D876543
Is there a way to allocate/copy the DSXYZ?
I guess I can do it within a REXX-step (reading in PREFIX.JOBNAME.START and dynamically copy DSXYZ to DSNORM and use DSNORM in a later step)
But ist there any other possibility to do that with JCL (IDCAMS or something like that)?
(I know I could dynamically create a full iebgener JCL and write it on internal Reader - but not allowed in our shop....)
I hope I explained clearly enough,
thank you very much in advance,