Data Set bypassed with message ADSDM393 0387 and REASON: LAST VOLUME OF MULTI-VOL DSN NOT FOUND.

Document ID : KB000011107
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Data Set bypassed from ARCHIVE processing with message:

ADSDM393 0387 (ddd) ON (vvv) BYPASSED, REASON = LAST VOLUME OF MULTI-VOL DSN NOT FOUND

What does this message mean and is there a way to force an ARCHIVE of this  Data Set?

Answer:

REASON: LAST VOLUME OF MULTI-VOL DSN NOT FOUND means that the DS1IND80 bit (last volume indicator) in the Format 1 DSCB is not on for the last volume of the Data Set.

This could be an indication for an invalid or corrupted Data Set and thus it is bypassed.

If this Data Set is considered a valid multi-volume Data Set, then the the DS1IND80 bit (last volume indicator) in the Format 1 DSCB can be turned on manually, running the DSCB Update Utility, to allow for the Data Set to be processed. Following a sample JCL and control statements to turn the DS1IND80 bit on:

//UPDATE   EXEC PGM=ADSMI002,PARM=ADSDM235,REGION=1024K
//STEPLIB   DD  DISP=SHR,DSN=CA.DISK.CCUWLOAD
//ABNLDUMP  DD  DUMMY
//CMDPRINT  DD  SYSOUT=A
//MSGPRINT  DD  SYSOUT=A
//PARMLIB   DD  DISP=SHR,DSN=CA.DISK.CCUWPARM
//SYSPRINT  DD  SYSOUT=A
//SYSUDUMP  DD  SYSOUT=A
//SYSIN     DD  *
    DSCB NOSIM,DSNAME=ddd,VOLUME=vvvvvv,LSTVL=ON          
/*
Additional Information:

For Details on the DSCB Update Utility please see

https://docops.ca.com/ca-disk-backup-and-restore/12-5/en/systems/dscb-update-utility