ILE COBOL Programmer's Guide

Main Programs and Subprograms

The first program in the activation group to be activated begins the COBOL run unit, and is the main program. The main program is at the hard control boundary of the activation group. No specific source statements or options identify an ILE COBOL program as a main program or a subprogram.

A subprogram is a program in the run unit below the main program in the call stack. For more information about program stacks and other terms concerning interprogram communication, see the CL Programming manual.


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