This function interrogates and sets the values of CA OPS/MVS Event Management and Automation global variables. These values are maintained in the CA OPS/MVS Event Management and Automation address space.
OPSVALUE(name,[actioncode],[newvalue],[oldvalue])
Parameters
Name of the CA OPS/MVS Event Management and Automation global variable to be referenced. This value can be a literal string or any expression that evaluates to the name of a global variable.
Action code defining the operation to be performed. For a list of valid action codes and descriptions of each, see your CA OPS/MVS Event Management and Automation guide set.
New value for the CA OPS/MVS Event Management and Automation variable.
Previous value of the CA OPS/MVS Event Management and Automation variable. This value is compared with the current contents of the variable before assigning the value specified by newvalue. If the content of the current variable does not match the content specified by oldvalue, the operation is suppressed and an error condition returned.
ARG n MISSING OR INVALID
Example
x = setaddr('ops','OPS5') /* Set target CA-OPS/MVS */ x = opsvalue(... /* Fetch or store value */
Copyright © 2014 CA Technologies.
All rights reserved.
|
|