z/OS MVS Initialization and Tuning Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


The nonsharable attribute

z/OS MVS Initialization and Tuning Guide
SA23-1379-02

Some allocation requests imply the exclusive use of a direct access device while the volume is mounted or unmounted. The system assigns the nonsharable attribute to volumes that might require demounting during step execution.

When a volume is thus made non-sharable, it cannot be assigned to any other data set until the non-sharable attribute is removed at the end of step execution.

The following types of requests cause the system to automatically assign the nonsharable attribute to a volume:
  • A specific volume request that specifies more volumes than devices.
  • A nonspecific request for a private volume that specifies more volumes than devices.
  • A volume request that includes a request for unit affinity to a preceding DD statement, but does not specify the same volume for the data set. For more information, see the discussion of unit affinity in z/OS MVS JCL Reference.
  • A request for deferred mounting of the volume on which a requested data set resides.

Except for one situation, the system will not assign the non-sharable attribute to a permanently-resident or reserved volume. The exception occurs when the allocation request is for more volumes than units, and one of the volumes is reserved. The reserved volume is to share a unit with one or more removable volumes, which precede it in the list of volume serial numbers.

Consider the following example, where volume A is removable and volume B is reserved. In this example, both volumes are assigned the non-sharable attribute; neither of them can be used in another job at the same time. To avoid this situation, do one of the following:
  • Specify the same number of volumes as units
  • Specify parallel mounting
  • Set the mount attribute of volume A as resident or reserved.
       DSN=BCA.ABC,VOL=SER=(A,B),UNIT=DISK

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014