COBOL Manual for TNS and TNS/R Programs

Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
47-78
Message List
390 (Warning)
Cause. A CALL or CANCEL statement referenced a program that the compiler could
not find in the source text or in any file on any search list. These programs must be
bound into the run unit before it is executed.
The COBOL85 compiler issues this warning only once: at the end of the compiler
listing, followed by the names of all the program units that it could not find.
The NMCOBOL compiler issues this warning at the point of reference to the program
unit (that is, at a CALL or CANCEL statement); however, for any given missing
program, the compiler issues the warning only at the first point of reference to that
program.
391 (Error)
Cause. One of:
A CALL or CANCEL statement specifies the program-name of the separately
compiled program within which it appears.
The END PROGRAM statement identifies a program that has already been
terminated.
392 (Error)
Cause. The END PROGRAM statement specifies a name that does not match any
program-name within the separately compiled program.
393 (Error)
Cause. No END PROGRAM statement appeared for the contained program whose
program-name is xxxx.
Referenced program not found by compiler
Improper program-name specified
Expected current program-name
Missing END PROGRAM: xxxx