Important: When compiling from within
Visual Studio, set these directives in the
Additional Directives field on your project's COBOL properties tab.
CHECKCALLPARAMS
Directive automatically set by DIALECT=MAINFRAME. It evaluates the parameters on a stored procedure call to determine if they are input or output.
CHECKSP
Checks the parameters set for the SPCALLLOCAL directive to ensure that they match the stored procedure definition.
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.
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.
NORSLOCATORS Enables non-COBOL client applications to read result sets from COBOL stored procedures that have been migrated from the mainframe. SQL Server COBOL stored procedures return result sets as simulated mainframe result sets.
PROMOTE
Saves generated DBRMs to the shared HCOSS DBRM library.
QUALIFIER
Qualifies unqualified table and view names.
SPCALLLOCAL
For native HCOSS applications, transforms an SQL call to a SQL Server stored procedure (i.e., an EXEC SQL CALL statement) into a standard COBOL call to a local COBOL subroutine.
STRICTPARSE
Provides enhanced diagnostics for DB2 statements not recognized by HCOSS.
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.