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

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

book

Article ID: 10103

calendar_today

Updated On:

Products

PDSMAN

Issue/Introduction

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.

 

Environment

MVS Z/OS

Resolution

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