LouPelagalli
Programmer
Hi,
I have several Rexx programs that create JCL, but I'm force to used the same Data Set name for all the Rexx Jobs that create JCL because I receive the error message.
* ISRD028
* Data set not cataloged
* 'TRNLDP.TEMP.JCL2' was not found in catalog.
* Current dialog statement:
* EDIT DATASET(TEMP.JCL2)
Here's my offending code from one of my Rexx jobs using a my forced standard Dataset Name.
x = outtrap(junk.)
address TSO "DELETE TEMP.JCL scratch nonvsam"
address TSO "alloc FILE(JCLout) DA(TEMP.JCL)
DSORG(PS) SPACE(1,1) TRACKS LRECL(80)
RECFM(F,B) UNIT(DISK) NEW"
address TSO "EXECIO * DISKW JCLout (STEM JCL. FINIS"
x= outtrap('OFF')
address ISPEXEC "EDIT DATASET(TEMP.JCL)"
What can I do so that I can use a different Data Set Name for each of my Rexx jobs instead of 'TEMP.JCL' for all?
Thank you in advance for your help,
Lou
I have several Rexx programs that create JCL, but I'm force to used the same Data Set name for all the Rexx Jobs that create JCL because I receive the error message.
* ISRD028
* Data set not cataloged
* 'TRNLDP.TEMP.JCL2' was not found in catalog.
* Current dialog statement:
* EDIT DATASET(TEMP.JCL2)
Here's my offending code from one of my Rexx jobs using a my forced standard Dataset Name.
x = outtrap(junk.)
address TSO "DELETE TEMP.JCL scratch nonvsam"
address TSO "alloc FILE(JCLout) DA(TEMP.JCL)
DSORG(PS) SPACE(1,1) TRACKS LRECL(80)
RECFM(F,B) UNIT(DISK) NEW"
address TSO "EXECIO * DISKW JCLout (STEM JCL. FINIS"
x= outtrap('OFF')
address ISPEXEC "EDIT DATASET(TEMP.JCL)"
What can I do so that I can use a different Data Set Name for each of my Rexx jobs instead of 'TEMP.JCL' for all?
Thank you in advance for your help,
Lou