Use this command to destroy a member you created previously in a user-defined variable group. You can use a DESTROY action to delete one or all members you created for a given variable group.
Format
DESTROY variable-group-name:member-name
where:
is the name of a variable group previously defined using a DEFINE VARIABLE command. See Section 3.
is the unique name of the member. You can specify the member name using a variable reference, as a fixed string constant, or as the predefined variable _ALL. A fixed string constant is a set of characters enclosed in quotation marks (for example, "ABC") and cannot include variable substitution (for example, "FROM _HOSTID”). _ALL refers to all currently existing members of the variable group.
If the member-name does not exist, a warning message is produced.
Examples
The following example deletes the member named by the value of the variable disk from the variable group DiskErrors. If the variable disk has the value PRD01C, the member PRD01C in variable group DiskErrors is destroyed.
DESTROY DiskErrors:disk
The following example deletes the member Host1, specified as a fixed string constant, from the variable group HostidList:
DESTROY HostidList”>Host1”
The following example deletes all members from the variable group DiskErrors:
DESTROY DiskErrors:_ALL