On 2017-10-03, at 07:39, Buckton, T. (Theo) wrote:
> 
> Can somebody direct me to documentation on temporary data sets. I need to 
> understand the characteristics and restrictions of these &&TEMP data sets:
> Space limits; 
> Can it extend over more than 1 volume if so, would a multi-volume temp data 
> set pose a problem if it is referenced again by a different DD statement in 
> the same job step?
>  
The JCL Ref. says:

REF=*.ddname
...
|       VOL=REF obtains the volume serial numbers ...

I assume use of plural implies multiple volumes are supported.

|       from the referenced ... earlier DD statement. ...
|       No other information is retrieved by VOL=REF; in particular it does not 
obtain
|       the volume sequence number, volume count, or data set sequence number.

Ugh.  So the programmer must keep the data set sequence number on a
sticky note on a desktop.

But I suppose that VOL=REF is superfluous for catalogued data sets and
that multiple temp data sets are rarely stacked on volumes.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to