Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Interface for the recovery of read/length errors

&pagelevel(4)&pagelevel

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
information

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.
PERCON informs DMS that the error is to be ignored. The errored block is made available by DMS and is processed as if it had been read correctly.
Processing is continued normally.

X'04'

Skip block.
PERCON informs DMS that the errored block is to be skipped.
The next block is made available by DMS and processing is continued normally.

X'08'

Terminate processing of file.
Processing of the input file is terminated. All output files are closed.
The conversion step is terminated with an error.