Using FASTREXX variables
File Manager supports these variables for FASTREXX processing:
- System numeric variables. See Table 3 below for descriptions.
- System character variables. See Table 2 below for descriptions.
- User character variables.
- User numeric variables.
- Tally registers.
System and tally variables are maintained by File Manager and are read-only to user procedures.
User variables are defined by SETC or SETN functions (there is an implied definition in TESTC and TESTN functions for variables that do not exist). These variables can be referenced and modified by these functions:
Function | Reference | Modify |
---|---|---|
CHG_VAR | Y | Y |
CHG_OUT | Y | N |
FLDI | Y | N |
FLDO | Y | N |
OVLY_VAR | Y | Y |
OVLY_OUT | Y | N |
SETC | Y | Y |
SETN | Y | Y |
TESTC | Y | N |
TESTN | Y | N |
VAR_OUT | Y | N |
VAR_TM | Y | N |
A user variable persists from its creation by a procedure to the end of the File Manager invocation. This allows any number of procedures run within the same File Manager invocation to refer to the same variables.
Name | Description |
---|---|
ZINREC | Input record |
ZOUTREC | Output record |
ZMEMBERI | Input member name |
ZMEMBERO | Output member name |
ZDSNIN | Input data set name |
ZDSNOUT | Output data set name |
Name | Description |
---|---|
ZRECSIN | Input record count |
ZRECSOUT | Output record count |