AVS_VGRP_SEARCH

The AVS_VGRP_SEARCH keyword specifies the volume selection volume group search method to use when Advanced Volume Selection is performed.

Syntax

Read syntax diagramSkip visual syntax diagramAVS_VGRP_SEARCH=ALLFIRST

AVS_VGRP_SEARCH=ALL|FIRST

Operands

ALL
Search all volume groups for a suitable volume.
FIRST
Stop searching for volumes after the volume group that was searched contains a volume that meets the criterion that is established by the AVS_ALGORITHM keyword.
Note: Other than BESTFIT when all volumes that are requested are able to be satisfied using the BESTFIT algorithm, there is no guarantee that the requested space is available.

For example, if you specify AVS_ALGORITHM= LARGESTSINGLE and Advanced Allocation Management selects a volume with the largest single extent in a volume group, it does not mean that the volume has enough space to satisfy the requested amount, it means that it is the volume with the largest single extent. Therefore, you might need to use the PRIM_REDUCE function to handle situations where the selected volume does not have adequate space available.

Default

ALL

Environments

ALLOCATE

Related keywords

AVS, AVS_ALGORITHM, AVS_MOUNT_USAGE, AVS_UNIT, AVS_VGRP, and AVS_VSER.

Example

In the following example, Advanced Allocation Management stops searching for volumes if a suitable volume exists in the volume group in which it is searching:

AVS_VGRP_SEARCH=FIRST