COBOL Manual for TNS and TNS/R Programs
Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs—522555-006
47-76
Message List
Error: An ALTER statement appearing in one independent segment modifies a GO TO
statement of a paragraph or section in another independent segment.
386 (Warning or Error)
Cause. Warning: One of:
•
An ALTER statement in the nondeclarative portion of the Procedure Division
references a paragraph-name or section-name defined in a declarative procedure.
•
An ALTER statement in a declarative procedure references a paragraph-name or
section-name defined in another declarative procedure.
•
An ALTER statement modifies a GO TO statement so that its execution will transfer
control from one declarative procedure to another declarative procedure.
Error: One of:
•
An ALTER statement in a declarative procedure references a paragraph-name or
section-name defined in the nondeclarative portion of the Procedure Division.
•
An ALTER statement in a nondebugging declarative procedure references a
paragraph-name or section-name defined in a debugging declarative procedure.
•
An ALTER statement modifies a GO TO statement so that its execution will transfer
control into or out of the Declaratives Portion the Procedure Division.
•
An ALTER statement modifies a GO TO statement so that its execution will transfer
control between a debugging declarative procedure and a nondebugging
declarative procedure.
387 (Warning or Error)
Cause. Warning: A GO TO statement transfers control from one declarative
procedure to another declarative procedure.
Error: One of:
•
A GO TO statement transfers control between the declarative and nondeclarative
portions of the Procedure Division.
•
A GO TO statement transfers control between a debugging declarative procedure
and a nondebugging declarative procedure.
Improper ALTER scope
Improper GO TO scope