On Fri, 29 May 2009 13:14:10 -0600, Howard Brazee 
<[email protected]> wrote:

>...
>I guess I don't understand.   The temp file doesn't need a name?
>...

You not only don't have to supply a name, the JCL Ref manual
recommends you do not specify one if you want to assure unique 
temporary dataset names.  If you specify a name MVS will create
SYSyyddd.Thhmmss.RA000.jjobname.name.Hgg
where "name" is the name you specified.  Any multiple copies of 
proc started in the same second with have the same DSN.

If you do not specify the name, MVS will create
SYSyyddd.Thhmmss.RA000.jjobname.Rggnnnnn
where "nnnnn" is incremented to create a unique name.  The "gg"
is a unique identifier withing a Sysplex (I think).

The only difficulty of not specifying the name is (as mentioned) the
need to use a referback reference to get at the dataset.  I usually
get that wrong the first few attempts.

Pat O'Keefe

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