Absence of the VOL or VOLUME parameter on a DD statement will trigger the system to search the appropriate catalogue.
The question may well be; Why is a VOL parameter being considered? The volume information should be provided by:
The bottom line is that use of the VOL parameter to provide specific information should be very rare these days. So why might the VOL parameter be used?
Possible Use |
  | Parameter Specification |
Keep a volume on a unit for later reuse. |
  | VOL=(,RETAIN) |
Inhibit allocation of non-specific data sets. |
  | VOL=PRIVATE |
Use the same volume as that used by another data set in this step. |
  | VOL=REF=*.ddname |
Use the same volume as that used by another data set in this step. |
  | VOL=REF=*.stepname.ddname |
A combination of the above. |
  | VOL=(,RETAIN,REF=*.ddname) |
Copyright © KMS-IT Limited 2002, 2006