COBOL/400 Language Help

Format 1 (Unconditional GO TO)

Description
The unconditional GO TO statement transfers control to the first statement in the paragraph or section named in procedure-name, unless GO TO has been modified by an ALTER statement. An unconditional GO TO statement, when it appears in a sequence of imperative statements, must be the last statement in the sequence.

When an ALTER statement refers to a paragraph, the paragraph must consist of a paragraph-name followed by an unconditional or altered GO TO statement.

Format 1 (Unconditional GO TO)
 
->->--GO---*----*----procedure-name---------------------------><-
         *-TO-*
 

procedure-name

Procedure-name must name a procedure or a section in the Procedure Division.


[ Top of Page | Previous Page | Next Page | Table of Contents ]