The &STORGRP read-write variable should only be used in the storage group routine. It is null on input to the routine unless VOL=REF is specified.
If the read-write variables are explicitly specified by the user, they have an initial value that might be overridden by the ACS routine. If the value is not overridden and the initial name is not defined in a currently active configuration, the allocation fails.
In an ACS routine, you can assign an alphanumeric name enclosed in single quotation marks to the read-write variables. Also, you can assign a list of up to fifteen alphanumeric storage group names, each enclosed in single quotation marks, to the &STORGRP read-write variable. If more than one storage group name exists in the list, then each name must be enclosed in single quotation marks and separated by commas (for example, 'SG1', 'SG2').
Table 1 indicates which read-write variables you can set, which ones you can use for comparisons, and which ones are invalid, for each of the ACS routines:
Read-Write Variable | ||||
---|---|---|---|---|
ACS Routine | &STORGRP | &MGMTCLAS | &STORCLAS | &DATACLAS |
Storage group | Set/Compare | Compare | Compare | Compare |
Management class | Invalid | Set/Compare | Compare | Compare |
Storage class | Invalid | Compare | Set/Compare | Compare |
Data class | Invalid | Compare | Compare | Set/Compare |