COBOL/400 Language Help
- 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 must name a procedure or a section in the
Procedure Division.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.