Getting a Panvalet PV042 - EOF on 1st READ error when trying to restore a Disabled member
search cancel

Getting a Panvalet PV042 - EOF on 1st READ error when trying to restore a Disabled member

book

Article ID: 55291

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

Trying to restore disabled member from a Panvalet backup Protection file and getting a message PV042 - EOF on 1st READ error msg looking at the PANDD3 input file

The PAN#2 ++Delete Disable job ran successfully prior to the restore but when trying to restore one of the members from the backup file getting the PV042 error message indicating the member could not be found.

Here is the SYSIN:

 //SYSIN DD *
 ++RESTORE PRPCD240XX,,40

 

Environment

Release:   14.6
Component:  Panvalet

Resolution

The problem is the version 40 specified on the ++RESTORE command is incorrect.

While this member could be at LEVEL number is 40 in the PANLIB, the VERSION number is not 40 on the backup Protection file or the Match-Merge Historical delete file.

For example, there are five versions of PAY500DEL on a Match Merge historical file, where version 5 is the highest version number and is the oldest version.

To restore the most current version of the member, use the following ++RESTORE statement:

 ++RESTORE PAY500DEL

The version parameter can be specified, but it is unnecessary since PAN#2 automatically selects the lowest version (1) of the named member or the newest version.

 

To restore an earlier version, say version 4 of PAY500DEL, specify the following:

 ++RESTORE PAY500DEL,,4