COBOL Manual for TNS/E Programs (H06.03+)
Compiler Diagnostic Messages
HP COBOL Manual for TNS/E Programs—520347-003
47-4
Message List
2 (Failure)
Cause. One of:
•
The compiler cannot open the file named file-name.
•
The file name parameter of the CONSULT, SEARCH, LIBRARY, or ERRORFILE
directive is either absent or does not have the form of a disk file name.
The xxxx parameter is the type of compiler file (source, copy, list, or work). file-
name is the external form of the file name. ddd is the file management error code that
the operating environment returned.
3 (Failure)
Cause. The compiler cannot use the file named file-name. xxxx is the type of
compiler file (source, SEARCH, COPY, or list). file-name is the external form of the
file name. Some causes of this failure are:
•
The file file-name does not exist.
•
The file file-name is not a disk file.
•
The file file-name is specified as the source file, but its attributes are
inappropriate for a source file (usually because the device type does support read
operations).
•
The file file-name is specified as a SEARCH or CONSULT file, but it is not a
code 800 object file.
•
The file file-name is specified as a SEARCH file, but it was not created by a
compilation with symbols specified.
•
The file file-name is specified as a COPY library, but its attributes are
inappropriate for a COPY file (file-name is not an EDIT file or has been
modified since the start of the current compilation).
•
The default COPY library named file-name in the command that called the
compiler has improper punctuation or its content does not have the form of a disk
file name.
•
The file file-name is specified as the compiler listing, but it’s attributes ar
inappropriate for a compiler listing (the device type does support write operations,
the record length is too short, the file is an EDIT file or a keyed-access disk file,
and so on).
OPEN failure on xxxx file (file-name): ddd
Unable to use xxxx file (file-name)










