IGNORE-NESTED

Specifies in programs with nested subroutines, the program-id at which to start generating database interface code.
Restriction: This topic applies to Windows environments only.

Syntax:

IGNORE-NESTED={program-id}

Parameters:

program-id Any nested program encountered before the given program-id is ignored and no database interface code is generated for it. You must specify a program-id in the COBOL source code; otherwise, a compile error results.

Properties:

Default: If you specify IGNORE-NESTED without a parameter, database interface code is generated for the outermost program only.

Comments:

You can only generate database interface code in one program in nested programs. If you need to have SQL statements in multiple programs, compile the subroutines as separate programs.