How to create a CA PDSMAN rule using protection against the Delete member and using the multi member Version?
CA PDSMAN rule protecting Delete member and using the multi Version member.
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
*
Update your PDSMINIT initialization file within the new rule,
then use the following command to refresh your new rule dynamically:
F PDSMAN,NEWRULES