The DB2 preprocessor and coprocessor have certain known differences with respect to EXEC SQL processing, which results in some EXEC statements being accepted by one but not by the other.
>>-.---.---.-EXECSQL-FLAG-.------------.--.---><
+-/-+ | +-"argument"-+ |
+-NOEXECSQL-FLAG---------------+
| Default: | NOEXECSQL-FLAG |
| Phase: | Syntax check |
| $SET: | Any |
Comments:
Known differences include whether:
The default value (NOEXECSQL-FLAG) produces no syntax reporting; that is, it allows syntax variations for both the preprocessor and the coprocessor.