cobolGOBACK statement


Remarks

The COBOL GOBACK statement is a return. Unlike EXIT PROGRAM, or STOP RUN, GOBACK always returns one level. If the current module is "main", GOBACK will return to the operating system. If the current module is a subprogram, GOBACK will return to the statement after a call.

GOBACK statement syntax diagram