SQL/MX 2.x Messages Manual (G06.24+, H06.03+)

SQLC and SQLCO Preprocessor Messages (13000
through 13999)
HP NonStop SQL/MX Messages Manual523730-004
13-16
SQL 13065
Cause. The compiler found end-of-file specified after syntax-item1 when it was
expecting syntax-item2 near line number.
For example, when the preprocessor parses host variables in an EXEC SQL/MX
statement, they must be preceded with a: (colon). If the colon is missing, the
preprocessor would probably find the name of the host variable next, but keeps looking
until it reaches the end of file or finds a colon. If it reaches end-of-file first and the very
next thing the preprocessor finds before reaching the end-of-file is the name of a host
variable, the message would look like this:
*** ERROR[13065] End of file was found after host variable
expression when : was expected, near line 54.
Effect. The preprocessor ignores the identifier.
Recovery. Correct the syntax and resubmit.
SQL 13066
Cause. The identifier name you specified was expected to be a structure type near
line number.
Effect. The preprocessor ignores the identifier.
Recovery. Correct the syntax and resubmit.
SQL 13067
Cause. The preprocessor was unable to open file name.
Effect. The preprocessor ignores the referenced file.
Recovery. Verify that the file exists and is readable and resubmit.
SQL 13068
Cause. SQL/MX detected a C/C++ syntax error near the line number listed in the
message.
13065 End of file was found after syntax-item1 when syntax-
item2 was expected, near line number.
13066 Identifier name was expected to be a structure type -
near line number.
13067 Source file name could not be opened.
13068 A C/C++ syntax error was found - near line number.