INPUT

INPUT is a file description attribute that specifies that a file will be used for input.

The INPUT attribute may be given in the declaration of a file constant or in an OPEN statement. It must not be specified in the declaration of a file variable.

File description attributes specified in a DECLARE statement apply to all openings of the file control block associated with the file constant.