Before you begin compiling, testing, and executing your HCOSS code, consider what you want HCOSS 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 | 
| ACCESS | Creates a stored procedure at compile time for most static SQL statements | Convenient for testing when the BIND SQL compiler directive option is to be used for deployment. | 
| BIND | Enables deployment of application code by generating an SQL batch script that can be used with sqlcmd or SQL Server Management Studio to update the SQL Server database. |  
                           				  
                           
  |  
                        			 
                     
| DBRMLIB1 | Enables generation of DBRMs containing the static SQL statements from COBOL programs, mimicking mainframe-style binding. |  
                           				  
                           
  |  
                        			 
                     
| DIALECT2 | Converts DB2 SQL statements that are not compatible with SQL Server into equivalent T-SQL statements in most cases. |  
                           				  
                           
  |  
                        			 
                     
| 1 For additional information, see also the 
                              					 Building Applications topic. 
                           				  
                            2 For additional information, see also the SQL Statement Prefixes for DIALECT Directive and the Building Applications topics.  |  
                        			 
                     ||