Modifying allocation rules


Specify the MODIFY subcommand in the following format:

MODIFY type_ALLOCATION

The variable type refers to the level at which you want to modify the allocation rule.

Type parameter values

Parameter

Modifies

GLOBAL

Global level allocation rule

GROUP

All group level allocation rules that match the criteria specified by using the SELECT_GROUP keyword

DBD

All DBD level allocation rules that match the criteria specified by using the SELECT_GROUP and SELECT_DBD keywords

AREA

All area level allocation rules that match the criteria specified by using the SELECT_GROUP, SELECT_DBD and SELECT_AREA keywords

ALLOCATION modifies all allocation rules (regardless of type) that match the selection criteria specified by using the SELECT_GROUP, SELECT_DBD and SELECT_AREA keywords.

The following table lists the keywords that can be used with the MODIFY subcommand to modify storage, class, statistics detail level, and retention parameters for an allocation rule.

Keyword

Function

DATACLAS

Specify SMS data class

DETAIL_LEVEL

Specify level of detail (UOW or area) to be written to the repository statistics data set

DSNAME

Specify data set name mask

EXPDT

Specify expiration date

MGMTCLAS

Specify SMS management class

RETPD

Specify retention period

SELECT_AREA

Specify SMS storage class

SELECT_DBD

Specify physical device

SELECT_GROUP

Specify volume serial numbers

STORCLAS

Specify SMS storage class

UNIT

Specify physical storage device

VOLSER

Specify volume serial numbers

Sample JCL for modifying the unit, SMS data class, and volume serial number for selected allocation rules in a repository catalog is shown in the following figure:

//PFP EXEC PGM=PFPEPR00,REGION=0M
//STEPLIB  DD DSN=PFP.LOAD,DISP=SHR
//         DD DSN=IMSVS.RESLIB,DISP=SHR
//PFPSYSIN DD   *
  PROCESS_EPR REPOSITORY_DSNAME='PFP.PFPEPR'
    MODIFY GROUP_ALLOCATION,SELECT_GROUP=IMSA,
    SELECT_DBD=PFPDBDA,SELECT_AREA=PFPDBDA1,
    UNIT=DISK,DATACLAS=CLASS1,VOLSER=SMS001

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*