COBOL Manual for TNS and TNS/R Programs

Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
47-52
Message List
257 (Error)
Cause. The Declaratives Portion exists, but contains no procedures.
258 (Error)
Cause. The current source program has an explicit Procedure Division, but its
nondeclarative portion is empty.
259 (Error)
Cause. An exception phrase corresponds to a statement with which it cannot be
associated. Possible reasons are:
The statement references a file whose description is incompatible with the phrase.
A READ statement specifies the NEXT phrase and the exception phrase is
INVALID KEY or NOT INVALID KEY.
A READ statement does not specify the NEXT phrase and the exception phrase is
AT END or NOT AT END.
260 (Error)
Cause. There is no preceding statement with which the exception phrase can be
associated.
261 (Error)
Cause. There is no preceding statement with which the ELSE phrase can be
associated.
No declarative procedures
No nondeclarative procedures
Exception phrase not compatible with file description
Improper context for exception phrase
Improper context for ELSE phrase