Environment detection (ENV_SELECTION)

Within Advanced Allocation Management, the selection keyword ENV_SELECTION describes a particular phase in the processing of a data set during which Advanced Allocation Management can perform function and selection processing.

The ENV_SELECTION keyword limits the operation of a rule definition to one or more specific environments.

Syntax

Read syntax diagramSkip visual syntax diagramENV_SELECTION=(,ACSALLOCATEEXTENDSTOWUNALLOCATE ,)

ENV_SELECTION=(ACS, ALLOCATE, EXTEND, STOW, UNALLOCATE)

Operands

ACS
The point in SMS processing directly following the assignment of one or more of the SMS constructs of Data Class, Storage Class, Management Class, or Storage Group.
ALLOCATE
The point in processing where a new data set is allocated (including VSAM and non-VSAM, SMS and non-SMS data sets).
EXTEND
The point in processing where a new extent is added to a data set on the current volume or on a new volume (including volume addition).
STOW
The point in PDS processing when a new member is being added to a data set and the directory is being updated.
UNALLOCATE
The point in processing where a data set is unallocated.
Note: You can specify one or more of the specified options.

Usage and processing considerations

ENV_SELECTION selection keyword and ENVIRONMENT functional keyword cannot be used together in the entire Rule definition member. If used, it issues the error message:

GLO4133E ENV AND ENV_SEL ARE NOT ALLOWED TOGETHER

Examples

In the following example, the functions are enabled during the environment EXTEND:

ENV_SELECTION=EXTEND