Previous Topic: ParametersNext Topic: INCLUDE Module-name Statement


Usage

Placement

The unmodified module is placed into the program by the precompiler at the location of the request. The location of the request is usually in the PROCEDURE DIVISION, but it can be anywhere that is appropriate for the contents of the module to be included in the program.

Nesting Modules

COPY IDMS MODULE statements can be nested (that is, a statement invoked by a COPY IDMS MODULE entry can itself be a COPY IDMS MODULE statement). However, you must ensure that a copied module does not, in turn, copy itself.