IGNORE-NESTED

In nested programs, indicates the program or programs for which to generate DB2 interface code.
Tip: For detailed information on how the DB2 ECM handles nested programs, see Support for Nested COBOL Programs and PL/I External Routines.

Syntax:

[NO]IGNORE-NESTED
IGNORE-NESTED=program-id

Parameters:

IGNORE-NESTED
When used without the program-id parameter, the DB2 ECM generates DB2 interface code for the main program by default.
program-id
A program ID that, when encountered by the DB2 ECM, triggers the generation of DB2 interface code for that program only. Any nested program ID encountered before the specified program ID is ignored and no DB2 interface code is generated for that program.
Note: You must specify the program ID in the source code to avoid compiler errors.

Properties:

Default: NOIGNORE-NESTED

Dependencies:

IGNORE-NESTED is mutually exclusive to both the SINGLE_PACKAGE and MULTI_PACKAGE directives.