Trying to restore a dataset from ARCHIVE, it could fail with ABEND SB37-04 , RC =16 and messages like the following:
ADSFH026 2132 SB37-04 ABEND OCCURRED PROCESSING VOLUME=vvvvvv, DSNAME=nnnnn.mmmmm.NEW
ADSFH067*0540 EXCP PROCESSING ERROR, RESULT = 0020
ADSDM077*0450 ccccc.vvvvv WAS NOT RESTORED DUE TO PREVIOUS ERROR(S)
ADSDM077 3061 MESSAGE(S) COMPLETE FOR nnnnn.mmmmm.NEW ON VOLUME PRM168
How to bypass this abend and restore the dataset correctly
Component : Disk Backup and Restore
In order to bypass the SB37 problems and restore the dataset, the following steps can be executed:
//SYSPARM DD *With the NOLOAD option specified in the RESTORE command, DISK will try to allocate the output dataset for the RESTORE but it will not restore anything. In this case the NOLOAD will provide the dataset model to be used for a Pre- allocation of the output dataset.
RESTORE DSN=dsn, NEWNAME=pre-allocated datsetusing the following override Sysparms:
//SYSPARMS DD *and this should be able to restore the dataset without any SB37 Abend.