Problem:
Resolution:
Add directive: DB2(IGNORE-NESTED) - we document this in Net Express, but haven't added it to the documentation for Mainframe Express, since we don't run into many programmers that use this feature in that product:
NESTED=program-id, IGNORE-NESTED, NOIGNORE-NESTED
In nested programs, specifies the program-id at which to start generating DB2 interface code. Any nested program encountered before the program-id is ignored and no DB2 interface code is generated. You must specify a program-id in the COBOL source code; otherwise, a compile error results. If you specify IGNORE-NESTED without a parameter, the program-id defaults to the program name with the filename extension replaced by .CBL.
Also - no sql code can be in other modules.
#MFDS
#EnterpriseDeveloper




