The SETVAR command sets the contents of a CA Automation Point status variable to a given value, changes the value of a variable, or creates a new variable.
This command has the following format:
"SETVAR varname (value)"
Specifies the name of the CA Automation Point variable to set.
Specifies the value to be assigned to the variable.
Usage Notes:
Example:
Suppose that REXX is operating without errors and you want to create a CA Automation Point variable called REXX_STATUS with a value indicating the status of REXX processing. To do so, write this statement in your REXX program:
"SETVAR REXX_STATUS (NO ERRORS)"
When the SETVAR command executes, the value of the REXX_STATUS variable is set to NO ERRORS.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|