How to create a CA PDSMAN rule using protection against the Delete member and using the multi member Version?

Document ID : KB000010103
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

How to create a CA PDSMAN rule using protection against the Delete member and using the multi member Version?

Background:

CA PDSMAN rule protecting Delete member and using the multi Version member.

 

Environment:
MVS Z/OS
Instructions:

You need to build two rules for the concerned data set , see the following sample : 

*

 

* Prevent member Delete

$UPDATE LIB=my.data.set

        PSR=Y

        MODE=P

        TYPE=DELETE

*

* Enable member Versions and Space Reuse

$UPDATE LIB=my.data.set

        VERSIONS=99

        PSR=Y

 

*

Additional Information:

Update your PDSMINIT initialization file within the new rule,

then use the following command to refresh your new rule dynamically: 

 F PDSMAN,NEWRULES