Using FASTREXX variables

File Manager supports these variables for FASTREXX processing:

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:

Table 1. Batch update status and action
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.

Table 2. System character 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
Table 3. System numeric variables
Name Description
ZRECSIN Input record count
ZRECSOUT Output record count