SQL/MX Programming Manual for Java
SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java—523726-003
D-59
Semantic Analysis (0201-000100—0201-022306)
0201-021600
Cause. The MODULE directive was missing the character set specifier in the NAMES
ARE clause. For example, you specified:
#sql {MODULE cat.sch.mod NAMES ARE};
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Correct the syntax of the MODULE directive. For details, see the SQL/MX
Reference Manual.
0201-021700
Cause. An SQL statement contained an unterminated comment (for example, /* with
no matching */).
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Correct the comment in the SQL statement. For details, see the Comments
on page 3-3.
0201-022000
Cause. The execution of a SET statement, or another SQL statement that configures
the environment during translation and customization, failed because you specified an
invalid catalog or schema name or because the catalog or schema that you specified
does not exist.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Examine the text of the statement that failed and check the command-line
options or the properties file. See Precedence of Object Name Qualification on
page 4-22 and Summary of SQLJ Command-Line Options on page 5-11. Correct the
invalid name and then retranslate the program.
0201-022301
Cause. You did not specify the IN mode for the host variable name.
[0201-021600] Invalid syntax in Module statement, missing
character set specifier
[0201-021700] Unterminated comment in SQL statement
[0201-022000]
prog.sqlj:9.9-9.49:Unable to execute: SET-
statement name
[0201-022301] Host item name requires mode IN.