How can we maintain a JOURNAL entry if we delete the original member of the PDS?

Document ID : KB000016524
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Using JOURNAL=Y and when we delete the primary member in the PDS the JOURNAL entry is deleted as well. How do I stop this from happening?

Answer:

Currently you are using the $UPDATE JOURNAL=Y  setting which allows a copy of the PDS member to be maintained in the JOURNAL copy.

You will want to change this to $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.

 

 

Additional Information:

CA PDSMAN® PDS Library Management

Look for $UPDATE JOURNAL=   function

Doc heading

$UPDATE Control Statement