If *MODULE(NAME=module-name) is specified for any of the operands PARITY-ERROR, LENGTH-ERROR or INPUT-ERROR in the ASSIGN-INPUT-FILE or ASSIGN-OUTPUT-FILE statement, PERCON branches to the user module “module-name” whenever a read or length error occurs.
Register 1 indicates the following address list:
A(parameter area) A(errored block) 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'10' |
Additional | Meaning |
X'00' | Length error |
X'04' | Read error |
The user transfers information to PERCON via the return code of the parameter area.
Return code | Meaning |
X'00' | Ignore error. |
X'04' | Skip block. |
X'08' | Terminate processing of file. |