The SETL command assigns a literal value, which can contain blanks, to a single volatile status or GLV variable.
This command has the following format:
ADDRESS GLV '[SELECT vargroup] SETL varname value'
(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.
Specifies the name of a volatile status or GLV variable.
Note: If you assign a value to a volatile variable, and a nonvolatile variable of the same name already exists, the nonvolatile variable will be erased.
Specifies the value to assign to the variable specified by varname. Valid values are literal strings. The value can contain blanks.
Example:
The following REXX statement assigns a literal value to the volatile variable MESSAGE:
ADDRESS GLV 'SETL MESSAGE This is a sentence in one variable'
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|