If the operand value *MODULE(NAME=modulename) is specified in the INPUT-EXIT operand of the ASSIGN-INPUT-FILE statement, PERCON branches to the user module every time a record from this file has been read.
Register 1 indicates the following address list:
A(parameter area) A(current input record) A(user input record) X'80000000'
A description of the structure of the parameter area is provided on "Common parameter area for the interfaces ".
The following values are entered in the parameter area:
Identifier of the interface: X'04' |
Additional | Meaning |
X'00' | The input record is transferred to the user module. |
X'04' | End of the input file. |
The user transfers information to PERCON via the return code of the parameter area.
Return code | Meaning |
X'00' | Transfer record. |
X'04' | Replace record. |
X'08' | Do not transfer record. |
X'0C' | Insert record. |
X'10' | Do not branch back to user module. |
X'14' | Terminate reading of input file. |
X'18' | Terminate conversion step immediately with an error. |