The OPSVALUE function lets you manipulate compound symbols in ways that are not possible in standard OPS/REXX. For example, the OPSVALUE function lets you use compound symbols, especially global compound symbols, as a kind of database.
Note: The OPSVALUE function can be used in OPS/REXX or AOF rules.
This function has the following format:
var = OPSVALUE(derivedname[,[actioncode][,[newvalue][,oldvalue]]])
Defines the name of the symbol to be acted on. When you use this argument without quotation marks, simple symbols (which are case sensitive) following the stem are replaced by their values. Although the derived name may be as long as 84 bytes, global variable rules can process only the first 50 bytes of the name. Therefore, you may want to limit the length of global variable names to 50 bytes.
(Optional) Specifies the action to be taken on that symbol.
(Optional) Supplies the new value, if any, to assign to the symbol, and
(Optional) Fetches the value of the symbol before the actioncode action takes place.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |