The SELECT command selects a default variable group for subsequent GLV commands to act upon.
This command has the following format:
ADDRESS GLV 'SELECT vargroup [glvcommand]'
Specifies the name of a variable group that you want to select as the default group for subsequent GLV commands.
Default: UNNAMED
(Optional) One of the following GLV commands:
|
GET |
PUTP |
SETL |
|
LIST |
PURGE |
SETLP |
|
PUT |
SET |
SETP |
Note: If you specify SELECT as an operand in one of the GLV commands listed here, the selected variable group applies to that command only and does not change the default variable group.
Usage Notes:
Example:
In the following REXX code, assume that the default variable group is UNNAMED because you have not issued a SELECT command to select another default variable group.
The first LIST command requests the value of the variable LAST_USER (set by either CA Automation Point or another REXX program). The second LIST command (specifying SELECT locally as an operand) selects the variable group TESTER as the group to which the variable named NEW_USER belongs.
ADDRESS GLV 'LIST LAST_USER' PULL LAST_USER.UNNAMED ADDRESS GLV 'SELECT TESTER LIST NEW_USER' PULL NEW_USER.TESTER
|
Copyright © 2011 CA.
All rights reserved.
|
|