Listing allocation rules
The LIST subcommand is useful when you want to list allocation rules contained in a repository catalog.
Specify the LIST subcommand in the following format:
LIST type_ALLOCATION
The variable type refers to the level at which you want to list the allocation rule.
Type parameter values
Parameter | Allocation rule listed | Keyword requirements |
---|---|---|
GLOBAL | Global level | DSNAME and UNIT |
GROUP | Group level | GROUP_KEY, DSNAME and UNIT |
DBD | DBD level | GROUP_KEY, DBD_KEY, DSNAME and UNIT |
AREA | Area level | GROUP_KEY, DBD_KEY, AREA_KEY, DSNAME and UNIT |
The following table lists keywords that can be used with the LIST subcommand to select the rules to be listed.
Keyword | Function |
---|---|
SELECT_AREA | Specify area |
SELECT_DBD | Specify database |
SELECT_GROUP | Specify group |
Sample JCL for listing selected allocation rules contained in a repository catalog at the DBD level 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'
LIST DBD_ALLOCATION,SELECT_GROUP=IMSA,
SELECT_DBD=PFPDBDA
Related topic
Comments
Log in or register to comment.