A Pan#2 ++Delete Disable job was run successfully prior to the restore but when trying to restore one of the members from the backup file getting the PV042 error message. This indicates the member could not be found. Here is the SYSIN:
The SYSIN DD *
The problem is the version 40 you're using on the ++restore command is incorrect. While this member could be at level 40 in restoring it, the version number is not 40.
Reinstating a Prior Version Member from a Historical File lets assume there are five versions of PAY500DEL on an historical file, where version 5 is the highest version number and assumed to be the oldest version. If you want to restore the most current version of the member, the input stream is as follows:
You could specify the version parameter, but that is unnecessary since PAN#2 automatically selects the lowest version (1) of the named member or the newest version.
For example, to restore version 4 of PAY500DEL, the following is required: