Important: When compiling from within
Eclipse, set these directives by opening your projects Properties dialog box, choosing Micro Focus > Project Settings > COBOL and entering them in the
Additional Directives field.
ACCESS
Enables deployment of application code and SQL by updating the SQL Server database at compile time. Creates a stored procedure at compile time for most static SQL statements.
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.
CHECKCALLPARAMS
Directive automatically set by DIALECT=MAINFRAME. It evaluates the parameters on a stored procedure call to determine if they are input or output.
DATE
Specifies the explicit date format to use when date values are returned from SQL Server date columns in character output host variables.
DBRMLIB Enables generation of DBRMs containing the static SQL statements from COBOL programs, mimicking mainframe-style binding.
DESCRIBEDTCHAR
DATE, TIME, and DATETIME columns are suitable for PIC X(n) character host variables or DATE, TIME, and TIMESTAMP SQL TYPEs.
DESCRIBEDTREC
DATE, TIME, and DATETIME columns are suitable for the DATE, TIME, and TIMESTAMP-RECORD SQL TYPEs in ODBC format record structures.
DESCRIBEVARCHAR49
VARCHAR columns are suitable for VARCHAR host variables with level 49 sub-fields for length and data.
DETECTDATE
Allows datetime values for PIC X character input host variables in a mainframe DB2 application to be in different formats than those supported by SQL Server.
DIALECT
Enables SQL dialect compatibility features for HCOSS in the OpenESQL preprocessor, turning on automatic mapping of functions, special registers, data types, and all other automatic HCOSS conversions, and enabling the use of DIALECT statement prefixes. Converts DB2 SQL statements that are not compatible with SQL Server into equivalent T-SQL statements in most cases.
IGNORESCHEMAERRORS
Suppresses compile-time errors resulting from missing schema objects.
PROMOTE
Saves generated DBRMs to the shared HCOSS DBRM library.
QUALIFIER
Qualifies unqualified table and view names.
SPDISPLAY
Determines where COBOL DISPLAY information can be accessed.
SQLCLRTRANS
Emulates mainframe behavior by substituting SQL Server save point operations for COMMIT and ROLLBACK when building both client applications and stored procedures.
TIME
Specifies an explicit time format to use when time values are returned from SQL Server time columns in PIC X character output host variables.