Argument values
The CICSPlex® SM API makes full use of the standard REXX variable interface.
- data-ref
- A receiving (or sending and receiving) argument used primarily to pass data from CICSPlex SM to your program. A data-ref argument must be a named variable that can be used to receive the resulting output. The output data is translated as appropriate:
- Character data is not translated; the data is placed into the variable as is.
- Binary data is translated to display format (decimal) and placed into the variable.
- User tokens are not translated; the token value is placed into the variable as is.
- Address values are not translated; the specified storage buffer is placed directly into one or more variables.
- data-area
- A sending or receiving argument used to identify a buffer that contains data. A
data-area argument must be a named variable.
For output buffers that could receive multiple resource table records, CICSPlex SM creates (or fills) stem variables to hold the data. The zero entry of the stem array indicates the number of entries in the array.
For example, in the stem variable called W_INTO_EVALDEF, the W_INTO_EVALDEF.0 entry contains the number of EVALDEF resource table records returned. The entries W_INTO_EVALDEF.1 through W_INTO_EVALDEF.n contain the actual resource table records.
A stem variable is created regardless of whether the actual output is a single record or multiple records.
- ptr-ref
- A receiving argument used to pass pointer values from CICSPlex SM
to your program.
A ptr-ref argument must be a named variable that can be used to receive the resulting output. The data being passed is a character representation of a hexadecimal address.
- cpsm-token
- A sending or receiving argument used to pass identifying tokens that are generated by CICSPlex SM.
A cpsm-token argument must be a named variable. Tokens are not translated; the token value is placed into the variable as is.