COBOL/400 Language Help
- Description
-
- The EXCEPTION/ERROR declarative specifies procedures for input/output
exception or error handling that are to be executed in addition to the
system-defined procedures.
- The EXCEPTION/ERROR procedures are activated when an input/output error
occurs during execution of a ACQUIRE, DROP, READ, WRITE, REWRITE, START, OPEN,
CLOSE, or DELETE statement.
- After execution of the EXCEPTION/ERROR declarative procedure, control is
returned to the statement immediately following the input/output statement
which caused the error.
- The words EXCEPTION and ERROR are synonymous and may be used
interchangeably.
->->--USE AFTER-*----------*-*-EXCEPTION-*------------------>
*-STANDARD-* *-ERROR-----*
*-----------*
V +
->--PROCEDURE-*----*-*-file-name-1-*-*---------------------><-
*-ON-* *-INPUT---------*
*-OUTPUT--------*
*-I-O-----------*
*-EXTEND--------*
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.