Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
VREPLACE—replace a variable z/OS ISPF Services Guide SC19-3626-00 |
|
The VREPLACE service is used only with CALL ISPLINK or CALL ISPLNK calls. The VREPLACE service allows a program module to update the contents of a variable in the function pool. The variable names can be specified as single 8-character values, a list enclosed in parentheses, or a name-list structure. An array of lengths must be supplied on input to map the area that contains the data for each of the variables. The variable to be updated can be the function's own defined variable, if it exists, or an implicit variable associated with the function. If the named variable does not exist, it is created as an implicit function variable. Command invocation format
Call invocation formatParameters
Return codesThese return codes are possible:
ExampleCopy the value of a field named QROWSD from this PL/I program module
to the function variable named QROWS. Before the copy operation, if
no variable with this name is found in the function pool, create one,
giving it the name QROWS. Program variable L8 contains a value of
8.
|
Copyright IBM Corporation 1990, 2014
|