The nonsharable attribute
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.
- 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.
- 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