Before compiling an OpenESQL application, you can set options that determine the level at which the OpenESQL preprocessor checks syntax in the background. To do this, click
Tools > Options > Text Editor > Micro Focus COBOL > Advanced. From the
Enable OpenESQL Background Syntax Checking drop-down list, select one of the following options:
- No checking
- The preprocessor does not connect to the DBMS and does not validate EXEC SQL statements; however, the preprocessor does check host variables.
- Basic
- The preprocessor checks only ANSI and standard SQL syntax.
- Complete
- This option sends all embedded SQL statements to the DBMS for validation, and requires a connection to the DBMS used by the program. Select this option for database providers that do not require SQL statement execution to perform validation.
See your
Visual Studio documentation for information on setting properties.