Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Nested programs

A COBOL program can nest, or contain, other COBOL programs. The nested programs can themselves contain other programs. A nested program can be directly or indirectly contained in a program.

There are four main advantages to nesting called programs:

The following example describes a nested structure that has directly and indirectly contained programs:

Nested program structure with directly and indirectly contained programs.

Link to detail.

Example: structure of nested programs

related tasks
Calling nested COBOL programs

related references
Scope of names


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)