VOL_ADD_VGRP

The VOL_ADD_VGRP keyword specifies a name of the volume groups to use with the VOL_ADD keyword.

Syntax

Read syntax diagramSkip visual syntax diagramVOL_ADD_VGRP=(,ppppppppuser_var)

VOL_ADD_VGRP=(pppppppp|user_var, pppppppp|user_var,......)

Where:

pppppppp
is a name of a volume group. Each volume group name (pppppppp) can be a maximum of eight characters in length.

Usage and processing considerations

  1. The VOL_ADD_VGRP keyword is associated with the VOL_ADD keyword. You must specify VOL_ADD=ENABLE to implement this function.
  2. The VOL_ADD_VGRP keyword does not apply to SMS data sets.

Default

None.

Note: When no volume group is defined, Advanced Allocation Management uses a default volume group. The default volume group is chosen using the first, or current, volser for a data set as specified, or defaulted to in the VOL_ADD_SGRP keyword. Advanced Allocation Management uses the particular volume to search the volume group definitions in order (from first to last) looking for a volume group that contains the volser. That volume group is used as the default volume group from which a volume is selected for volume addition based on the selected or defaulted VOL_ADD_ALGORITHM.

Environments

EXTEND

Related keywords

VOL_ADD, VOL_ADD_ALGORITHM, VOL_ADD_LIM, VOL_ADD_MOUNT_USAGE, VOL_ADD_PROMPT, VOL_ADD_SGRP, VOL_ADD_UNIT, VOL_ADD_VGRP_SEARCH, VOL_ADD_UPG_VOL, and VOL_ADD_VSER.

Example: Multiple volume groups

In the following example, VOL_ADD_VGRP lists the volume groups VGRP0001 and VGRP0002. Therefore, the VGRP0001 and VGRP0002 volume groups are used with the VOL_ADD keyword to determine which volume groups Advanced Allocation Management uses to obtain additional volumes.

VOL_ADD_VGRP=(VGRP0001,VGRP0002)

Example: Volume groups defined by user-defined variables

In the following example, VOL_ADD_VGRP lists the user-defined variables &GRPA, &GRPB, and &GRPC. The volume groups that are defined by these variables are used with the VOL_ADD keyword to determine which volume groups Advanced Allocation Management uses to obtain additional volumes.

VOL_ADD_VGRP=(&GRPA,&GRPB,&GRPC)