COBOL Manual for TNS/E Programs (H06.03+)

Compiler Diagnostic Messages
HP COBOL Manual for TNS/E Programs520347-003
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 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.
395 (Error)
Cause. Both the current COBOL program and a preceding one qualify for the MAIN
attribute. Because the compiler cannot determine which one should be the main
program, it does not produce an object file.
Referenced program not found by compiler
Improper program-name specified
Expected current program-name
Missing END PROGRAM: xxxx
More than one implicit MAIN program