When using JOURNAL=Y and deleting the primary member in the PDS, the JOURNAL entry is deleted as well. How can this be prevented from happening?
Release: PDSMAN PDS Library Management 7.7
The $UPDATE JOURNAL=Y setting allows a copy of the PDS member to be maintained in the JOURNAL copy.
To keep the journal version after delete, use option $UPDATE JOURNAL=X
From the manual:
JOURNAL
Library Update Journaling option. For more information about this facility, see Member Archiving and Recovery Facilities.
N
No journaling (default).
X
Old member retention required. Old versions of replaced modules are copied to the backup library to provide previous version recoverability.
XP
Similar to option X but prevents the update to the main library if the journal operation is unsuccessful. Message PDSM021-25 is issued to identify the error and STOW return code 20 is issued to prevent the main library update
Y
Update journaling required. Library update operations are duplicated in the backup library to provide up-to-the-minute recoverability.