Explanation: DFDSSOPTION(RETRY | VOLCOUNT) is an optional parameter that causes DFSMShsm to pass optional parameters to DFSMSdss when recalling certain types of data sets or to specify the number of volumes a data set can extend to.
VOLCOUNT(ANY | N(nn)) allows an SMS data set to extend to additional volumes within the same storage group, when space is available. The VOLCOUNT parameter is limited to SMS data set types supported as multivolume data sets. Refer to z/OS DFSMSdss Storage Administration for more information regarding restrictions and limitations of the VOLCOUNT parameter.
VOLCOUNT(ANY) results in the allocation of the target data set on as many volumes as required, to a maximum of 59.
VOLCOUNT(N(nn)) allows users to specify the number of volumes to be used for SMS data set allocation. nn can be any value from 0 to 59. When you specify the number of volumes the data set is allocated to, the allocation of the data set will be limited to that number of volumes or will be extended to that number of volumes.
The VOLCOUNT(N(nn)) parameter is ignored if specified with the DFSMShsm VOLUME parameter. If a volume count VOLCOUNT(N(nn)) is specified and the VOLUME parameter is also specified, the resulting volume count for the data set will be one (1). If inadequate space exists on the specified volume, the allocation fails.
Defaults: None.