This API procedure function call retrieves the value of an EventView variable.
If you make this call from an NCL procedure, ensure that you share the &$REVAR-prefixed variables, for example, by adding the following statement before the call:
&CONTROL SHRVARS=($REVAR)
Syntax
This API procedure function call has the following format:
$RECALL SERVICE=GET
CLASS=VARIABLE
NAME=‘VARNAME=variable-name’
Operands
This API procedure function call has the following operands:
Specifies that a value is to be retrieved.
Specifies that the value to get is the value of an EventView variable.
Specifies the name of the EventView variable.
Limits: Up to eight characters long
Return Variables
This API procedure function call returns the following variables:
Contains a description of the value of the EventView variable.
Contains the name of the EventView variable.
Contains the date, time, and the user ID of the user who last updated the value.
Contains the value of the EventView variable.
Contains the returned message.
Return Codes
Return codes indicate the success or failure of processing. This API procedure function call returns the following return codes in the &RETCODE variable:
Indicates that processing was successful.
Indicates that processing failed.
Indicates that error occurred in the call syntax.
Example: Retrieve the Value of a Variable
The following example retrieves the value of TEST:
&CALL PROC=$RECALL SHARE=($RE>) + PARMS=(SERVICE=GET,+ CLASS=VARIABLE,+ NAME='VARNAME=TEST') &WRITE ZREVTEMP=&$REVARVALUE
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |