The USE statement specifies Declarative procedures to handle input/output errors and database exception conditions. It can also specify procedures to be executed before the program processes a specific report group. These procedures supplement the standard procedures in the COBOL Run-Time System and OpenVMS RMS. Format 1 - { {file-name} ...} { INPUT } USE [GLOBAL] AFTER STANDARD {EXCEPTION }PROCEDURE ON{ OUTPUT }. {ERROR } { I-O } { EXTEND }
1 – file-name
is the name of a file connector described in a file description entry in a Data Division. It cannot refer to a sort or merge file.