On Thu, 2009-05-28 at 11:09 -0400, Howard Brazee wrote:
> //SORTOUT    DD DSN=&&FINDERS,                                    
> So, &&FINDERS is SYS09148.T083746.RA000.ZHBBIOD.FINDERS.H01 in each proc
> for this run, which is OK as long as they are on different packs.
> Any other options that I should consider?

Use referbacks in your receiving steps (DSN=*.stepname.ddname) instead
of temporary dataset names (DSN=&&name).  They're a bit awkward, but
eliminate the duplicate dataset name issue.  Quoting the JCL Reference:
"To ensure that a temporary data set name is unique, do not code a
temporary data set name. Allow the system to assign one."

-- 
David Andrews
A. Duda and Sons, Inc.
[email protected]

----------------------------------------------------------------------
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

Reply via email to