Previous Topic Next topic Print topic


Setting SQL Option Background Syntax Checking Options

Restriction: This topic applies to Windows environments only.
Before compiling an XDB application, you can set options that determine the level at which the XDB preprocessor checks syntax in the background. To do this, click Window > Preferences > Micro Focus > COBOL > Editor > XDB Background Parse. 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 does not connect to the DBMS and does not validate EXEC SQL statements; however, the preprocessor does check simple SQL statements and host variables.
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 Eclipse documentation for information on setting properties.

Previous Topic Next topic Print topic