The GOBACK statement specifies the logical end of a called program.
GOBACK
The GOBACK statement is equivalent to the sequence:
EXIT PROGRAM.The GOBACK statement must appear as the only statement, or as the last of a series of imperative statements, in a sentence.
The GOBACK statement must not appear in a declarative procedure in which the GLOBAL phrase is specified.
If control reaches a GOBACK statement while operating under the control of a CALL statement, control returns to the point in the calling program immediately following the CALL statement.For details, see the discussion of the EXIT PROGRAM statement.
If no CALL statement is active and the GOBACK statement is executed in the main program, control returns to the invoker (which may be the operating system and thus cause the end of the run unit).
GOBACK Statement Examples
|
|
Cobol Tutorial
Language Structure
Identification Division
Environment Division
Data Division
Procedure Division
Procedure Division Statements
Text Resumes
Visual Resumes
Social Resumes
Resume Quality
IT Resume Samples
MARKETING Resume Samples
HR Resume Samples
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.