Adding allocation rules

Specify the ADD subcommand in the following format:
ADD type_ALLOCATION

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

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

Available keywords for the ADD subcommand

Keyword

Function

AREA_KEY

Specify area identifier

DATACLAS

Specify SMS data class

DBD_KEY

Specify database identifier

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

GROUP_KEY

Specify group identifier

MGMTCLAS

Specify SMS management class

RETPD

Specify retention period

STORCLAS

Specify SMS storage class

UNIT

Specify physical device

VOLSER

Specify volume serial numbers

Sample JCL for adding an allocation rule at the group level is shown in the following figure. This example also shows how you can specify a retention period (90 days in this example) for statistics data sets that are added to the repository.

//PFP EXEC PGM=PFPEPR00,REGION=0M
//STEPLIB  DD DSN=BMC.PFP.LOAD,DISP=SHR
//         DD DSN=IMSVS.RESLIB,DISP=SHR
//PFPSYSIN DD   * 
  PROCESS_EPR REPOSITORY_DSNAME='PFP.PFPEPR'
    ADD GROUP_ALLOCATION,GROUP_KEY=IMSA,
      DSNAME='PFP.&DBD.&AREA.&DATE.&TIME',
      UNIT=DISK,VOLSER=12354,RETPD=90

Was this page helpful? Yes No Submitting... Thank you

Comments