VOLSER

Use the VOLSER keyword to specify one or more volume-serial identifiers for the data set accessed by dynamic allocation.

If the VOLSER keyword is omitted for an output data set, then non-specific (private) volume(s) are requested.

When used in conjunction with the STACK_NAME keyword, the VOLSER keyword specifies a list of tape volumes to which the output data sets are written. While any number of volume-serial identifiers can be listed, only five at a time will be used for any individual data set written to the stack group. If an individual data set requires more than five volumes, the sixth (and subsequent) volumes for the data set will use non-specific (private) tape volumes. When specified on the ALLOCATE subcommand, a list of volume serial-identifiers cannot repeat a volume.

Note

Do not specify both the VOLSER and the VOLCNT keywords; these keywords are mutually exclusive.

Use

VOLSER is an optional keyword for the following subcommands:

  • ACTIVITY_FILECTL

  • ADD

  • ALLOCATE

  • DISCARD_FILECTL

  • IC

  • MODIFY

  • OFILECTL

  • PLAN_FILECTL

Related keywords

  • DSNAME

  • VOLCNT

Syntax

VOLSER=volser
VOLSER=(volser[,volser...])
VOLSER=(*[,*])

Parameters

Specify 1-character to 6-character volume serial numbers. An asterisk (*) specified on the VOLSER keyword has special meaning for SMS processing.

Default

None

Alias

None

Was this page helpful? Yes No Submitting... Thank you

Comments