The LIST command places the name and value of any variable (that is, any status or GLV variable whether volatile or nonvolatile) into the external data queue, making that value available to any REXX program.
This command has the following format:
ADDRESS GLV '[SELECT vargroup] LIST [varname . . .] '
(Optional) Specifies the name of a variable group (vargroup) to which the specified variable (varname) belongs.
For more information, see the description of the SELECT command.
(Optional) Specifies the name of the variable whose name and value you want to place into the external data queue. You can specify one or more varname variable names.
The following wildcard characters are valid for variable name masking:
Replaces individual characters.
Replaces any number of trailing characters when placed as the last character in the name mask.
If you do not specify a varname value, the LIST command writes all variables (in the selected or default variable group) to the external data queue.
Example:
The following REXX statement places the name and value of the variable LASTUSER into the external data queue:
ADDRESS GLV 'SELECT USER_GRP LIST LASTUSER'
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|