Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

GOBACK


COBOL




Description

Use the GOBACK command in the current module to return to the next higher level module, which includes a nested program. If the current module is the top-level module, the test is completed. A record of the command is written to the session log.

Input

image2021-2-15_18-27-56.png

Usage Notes

  1. The GOBACK command is not supported if the nested program is optimized by the compiler or if it does not contain a GOBACK verb.
  2. If the current module is called by a module written in a language that does not follow COBOL linkage conventions, return will be to the calling module.
  3. Any statements following a GOBACK will not be executed.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*