During the allocation of the file the following message is displayed
V37062I MVS CURRENTLY LIMITS DSETS TO 59 VOLS RECOVERY OF THIS EOV COND WOULD EXCCEED THIS LIMIT
STEP CC S/B 0012 + IEC070I 203-220
The ‘V37062I’ message results from your initial DEFINE CLUSTER with the 20 candidate volumes [VOLUME(* * * * * * * * * * * * * * * * * * * * )] specified at the CLUSTER level.
Specifying the candidate volumes at the CLUSTER level, it limits DATA of the component to 39 volumes since IBM limits a data set to 59 volumes.
There are two solutions to this problem:
Move the candidate volumes to the DATA component level in the initial DEFINE. In your specific job, code the DEFINE like this:
DEFINE CLUSTER -
( -
NAME(XXXXXXXXXXXX) -
KEYS(50 4) -
RECSZ(158 1398) -
SHR(2 3)-
DATACLASS(COMPRESS) -
SPEED -
) -
DATA -
( -
NAME(XXXXXXXXXXX.DATA) -
FREESPACE(10 10) -
VOL(* * * * * * * * * * * * * * * * * * * *) -
CISZ(7186) -
CYL(900 2000) -
) -
INDEX -
( -
NAME(XXXXXXXXXXXX.INDEX) -
CISZ(512) -
CYL( 20 2)-
)
IF &VAMENVIR = 'DEFINE' THEN
DO
IF &SMS_MANAGED = 'Y' THEN
DO
IF &DSORG = 'VS' THEN
DO
SET &NVOLD = 1
SET &NVOLI = 1
WRITE 'DEFINE SETTING &&NVOLD AND &&NOLVI = 1 FOR SMS-MANAGED VSAM'
END
END
END
Would add this code to your existing ASR in the ‘DEFINE’ environment. It would then look like this:
IF &VAMENVIR = 'DEFINE' THEN
DO
IF &STORCLAS = '' THEN
DO
SET &LSPACE_VOLUME = &LSPACE_VOLUME
IF &LSPACE_RETURN_CODE NE 0 THEN EXIT CODE(0)
SET &LSPACE_STORGRP = &LSPACE_STORGRP
IF &LSPACE_RETURN_CODE NE 0 THEN EXIT CODE(0)
END
IF &DSTYPE NE 'TEMP' THEN SET &UNIT = 'SYSDA'
IF &DSN NE &AP_DATASET_NOEXTEN THEN
DO
IF &SECONDARY = 0 THEN SET &SECONDARY = 1
IF &SECONDARYD = 0 THEN SET &SECONDARYD = 1
IF &SECONDARYI = 0 THEN SET &SECONDARYI = 1
END
IF &SMS_MANAGED = 'Y' THEN
DO
IF &DSORG = 'VS' THEN
DO
SET &NVOLD = 1
SET &NVOLI = 1
WRITE 'DEFINE SETTING &&NVOLD AND &&NOLVI = 1 FOR SMS-MANAGED VSAM'
END
END
END /* VSAM DEFINE Section */
This ASR change will allow the data component of ‘XXXXXXXXX’ to extend on to many more volumes. The Allocate product will correctly add the volumes to the data component.