ERET (Error-Handling Return) Macro
This macro enables your program 's ERROPT or WLRERR routine to return to IOCS and specify an action to be taken.
The macro applies to:
- DTFSD files.
- DTFIS and DTFDU files if ERREXT=YES is specified in the DTFxx macro.
- DTFMT input files if ERREXT=YES is specified.
Format
Requirements for the caller
- AMODE:
- 24
- RMODE:
- 24
- ASC Mode:
- Primary
Parameters
- SKIP
- Passes control back to the logic module to skip the block of records or control interval in error and process the next one. For disk output, an ERET SKIP is treated as an ERET IGNORE.
- IGNORE
- Passes control back to the module to ignore the error and continue processing.
- RETRY
- Causes the module to retry the operation that resulted in the error. For SD wrong-length record errors, RETRY cancels the job.