Before you begin compiling, testing, and executing your HCOPG code, consider what you want HCOPG to do for you.
The following table provides a quick reference to the SQL compiler directive options that affect code generation. For complete information on each, see the appropriate Reference topic.
SQL Compiler Directive Option | Generation Specifics | Advantages |
---|---|---|
None (default) | SQL remains embedded in object code | Simplicity |
DIALECT1 | Converts DB2 SQL statements that are not compatible with PostgreSQL into equivalent pgSQL statements in most cases. |
|
1 For additional information, see also the SQL Statement Prefixes for DIALECT Directive and the Building Applications topics. |