Previous Topic: Examples: PASSCHAR control option

Next Topic: PER—Event Recording

PDSPROT—Protected PDSs

Valid on z/OS.

PDSPROT is used to identify partitioned (PDS) data sets that are protected at the member level. It is also used to enable or disable PDS member level protection.

This control option has the following format:

PDSPROT(ON|OFF)
PDSPROT(ADD|REMOVE,DSN(dsn),[VOL(vol),]CLASS(resclass))
ON

Enables PDS member level protection for only those PDS data sets that have been identified by a PDSPROT(ADD) statement.

OFF

Disables PDS member level protection for all data sets.

ADD

Indicates that a single PDS data set is to be protected at the member level. ADD requires both DSN() and CLASS() operands to be specified. VOL() might optionally appear.

Multiple PDSPROT(ADD) can specify the same resource class name. By doing this, multiple PDS data sets may share common PDS member level protection.

REMOVE

Indicates that a single PDS data set is to be removed from PDS member level protection. Remove requires both DSN() and CLASS() operands to be specified and requires a VOL() operand if it was specified when the data set was added.

DSN

Identifies the data set name of a single PDS being affected during an ADD or REMOVE statement. No masking is allowed. The data set name should be fully qualified and without quotes.

Range: 1 to 44 characters

VOL

Optionally identifies the disk volume serial (volser) of the PDS data set named on the same statement. The VOL() operand may be omitted and is only recommended when needed to distinguish between identically named PDS data sets. If coded, specify a complete six‑character volser without masking.

CLASS

Identifies the name of the resource class under which all PDS member level protection for the named data set will occur. Note that the CA Top Secret Resource Definition Table (RDT) contains five predefined resource classes named PDSMEM1 through PDSMEM5 for this use. Specify one of these predefined class names or the 1 to 8 character name of another resource class.