COBOL/400 Language Help

file-name-1

File-name-1 is valid for all files. When you specify file-name-1, the procedure is run only for the files named. No file-name can refer to a sort or merge file. For any given file, only one EXCEPTION/ERROR procedure may be specified; thus, file-name specification must not cause simultaneous requests for execution of more than one EXECUTION/ERROR procedure.

The file-name phrase is also valid for TRANSACTION files.

A USE AFTER EXCEPTION/ERROR declarative statement specifying the name of a file takes precedence over a declarative statement specifying the open mode of the file.


[ Top of Page | Previous Page | Next Page | Table of Contents ]