ILE COBOL Programmer's Guide

COBOL Run Unit

A COBOL run unit is a set of one or more programs that function as a unit at run time to provide a problem solution. A COBOL run unit is an independent entity that can be executed without communicating with, or being coordinated with, any other run unit except that it can process data files and messages or set and test switches that are used by other run units. A run unit can also contain program objects and service programs created from module objects that are created from the compilation of programs written in languages other than ILE COBOL.

In ILE, a COBOL run unit is composed of program objects and service programs that all run in a single ILE activation group. To preserve OPM COBOL/400 compatible run unit semantics, your ILE COBOL application must meet the following conditions:

If these conditions are not met, there may be a control boundary that binds the scope of the STOP RUN so that the state of the entire application is not refreshed.

Note:
The above condition dictates that an ILE COBOL program running in the *DFTACTGRP is generally run in a run unit that is not compatible with an OPM COBOL/400 run unit.


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