On Fri, 4 Apr 2008 09:31:03 -0700, Ulrich Krueger wrote: > >If you check the JCL Reference manual, chapter "12.22.2.6 Data Set Name for >Temporary Data Set", you will find the sentence > >"To ensure that a temporary data set name is unique, do not code a temporary >data set name. Allow the system to assign one." > >To make the system generate a truly unique temp DSname, remove the &&... >name and change any references to it in later steps to use a STEPNAME.DDNAME >referback. This should solve your problem. > Yeah. Right. And how may the programmer refer in one step to a PDS, and in another to one of its members? I regularly do:
//GENER EXEC PGM=IEBGENER //SYSUT2 DD DISP=(,PASS),DSN=&&SYSEXEC(PROGRAM),... //SYSUT1 DD * ... //REXX EXEC PGM=IRXJCL,PARM=PROGRAM //SYSEXEC DD DISP=(OLD,PASS),DSN=&&SYSEXEC Can I do the equivalent with a system-assigned data set name? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html