For COBOL programs that have EXEC SQL statements, your choice of the compiler option
DYNAM or NODYNAM depends on the operating environment.
When you run under:
- TSO or IMS: You can use either the
DYNAM or NODYNAM compiler option. - CICS or the DB2 call attach facility (CAF): You must use the
NODYNAM compiler option.