beautypg.com

Erroneous errors and warnings for sql statements, Incorrect errors for new project source file – HP Integrity NonStop H-Series User Manual

Page 92

background image

Example 10 Incorrect errors for new project source file

You can remove the erroneous errors by forcing the indexer to run:

1.

In the NonStop Project Explorer view, select the project associated with the source file.

2.

Select Index > Rebuild from the NonStop Project Explorer view context menu.

Erroneous errors and warnings for SQL Statements

By default, CDT’s C/C++ code analysis marks SQL statements in C/C++ source with errors and
warnings. To ameliorate this issue, NSDEE provides a file that lists SQL statements that CDT will
load as empty #define macros. The file is named .sqlmxStatements.txt (for SQL/MX) or
.sqlmpStatements.txt

(for SQL/MP) and is added as a top-level file when you create a new

project with managed builds and with SQL tools.

Example 11 “Example of errors and warnings

shown for SQL statements”

shows an example of the types of erroneous errors and warnings shown

for SQL/MX statements in C/C++ editors.

NOTE:

The .sqlmxStatements.txt and .sqlmpStatements.txt files are not visible by

default. For information making files starting with “.” visible in the NonStop Project Explorer view,
see

“Filtering NonStop Project Explorer view content” (page 116)

.

TIP:

You can specify a non-default location for the SQL statements file from the Discovery Options

property page.

92

Tasks

This manual is related to the following products: