Add and delete allocation rules
The following figure shows JCL to add and delete allocation rules:
02 //STEPLIB DD DISP=SHR,DSN=BMC.PFP.LOAD
03 // DD DISP=SHR,DSN=IMSVS.RESLIB
04 //PFPSYSIN DD *
05 PROCESS_EPR REPOSITORY_DSNAME='BMC.PFP.PFPEPR'
06 MODIFY GLOBAL_ALLOCATION,
07 DSNAME='PFP.&AREA.&DATE.&TIME',
08 UNIT=SYSDA
09 ADD DBD_ALLOCATION,
10 GROUP_KEY=TEST,
11 DBD_KEY=PFPSAMP,
12 DSNAME=NULLFILE,
13 UNIT=SYSDA
14 DELETE AREA_ALLOCATION,
15 SELECT_GROUP=TEST,
16 SELECT_DBD=PFPSAMP,
17 SELECT_AREA=PFPSAMP2
18 LIST ALLOCATION
/*
Line no. | Comments |
---|---|
01-03 | EXEC and STEPLIB statements for execution of repository program (PFPEPR00). |
04 | PFPSYSIN DD for Fast Path/EP control statements. |
05 | Specifies the repository catalog data set to be modified. |
06-08 | Replace the data set name and unit defined for the global allocation rule. |
09-13 | This command adds a specific DBD allocation rule for the data base PFPSAMP in the group TEST. The NULLFILE value that is specified for the dsname means that only summary statistics information will be retained for this database. |
14-17 | This command deletes any area allocation rule defined for the area PFSPAMP2, in the data base PFPSAMP, for the group TEST. |
18 | Requests that all allocation rules in the repository catalog be listed. |
Related topic