A multi file dataset definition exists in the DYNAM catalog. Unfortunately, a version of this dataset was deleted and you needed to do an IDCAMS restore using that version.
The version was added back to the catalog, but the IDCAMS RESTORE job fails with message 4113D NO HDR1 LABEL FOUND INPUT SYS004=nnn
IDCAMS, LIBR and some other utilities do not use standard format file. In other words, there are imbedded TM in the middle of logical files.
If the version has not been deleted, DYNAM /T Tape Management for z/VSE knows where the file start via the Cartridge block id that is saved in the DYNAM catalog. But if you delete the version, this cartridge block id is lost and there is no way to retrieve this information, nor is there a way to add the information back in the DYNAM catalog.
Sample BACKUP job and format of the tape:
// TLBL BKFILE,'IDCAMS.BKUP.FILE1',,,,,,8 // EXEC TDYNASN ASSGN SYS005,DUMMY /* // EXEC IDCAMS,SIZE=AUTO BACKUP ( - TEST.FAVER2 - TEST.FAVER2O - ) - STDLABEL(BKFILE) /*
The format of the tape will be :
VOL1
HDR1
HDR2
TM
DBH records contains information about files backed up
TM
OHD records for the first file
TM
OHD records for the second file
TM
EOT record
TM
EOF1
EOF2
So you can see that the second logical file will be the 7th physical file instead of the 4th. And the number of physical files depend on the BACKUP command executed.
Please note also that if you need to copy this tapes onto new devices, you will have to first IDCAMS RESTORE the data to disk and do a BACKUP of the restored file to the new tape. There is no way to use any kind of copy utility to copy IDCAMS BACKUP multi file tapes under the control of DYNAM/T Tape Management for z/VSE.