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-22
Recovery. Check the file's location, name and security, verify that no other process
has it open, and resubmit. Check that the source and output file names are not the
same, so that the preprocessor will not overwrite the source file.
SQL 13506
Cause. SQL/MX could not open the COBOL output source file name.
Effect. The operation fails.
Recovery. Check the file's location, name, and security, verify that no other process
has it open, and resubmit. Check that the source and output file names are not the
same, as the preprocessor will not overwrite the source file.
SQL 13507
Cause. SQL/MX encountered an error while parsing the source detail text.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 13508
Cause. You did not enter the keyword or character that SQL/MX required. When the
preprocessor is processing the code within a control block such as IF, WHILE, DO, or
is at the end of one, it looks for the keyword that ends that block and then a semicolon,
and issues this message if that keyword or character is not found: For example:
In an IF or WHILE block:
*** ERROR[13508] Expecting END, found EXEC.
When IF is not followed by THEN:
*** ERROR[13508] Expecting THEN, found ;.
When WHILE is not followed by DO:
*** ERROR[13508] Expecting DO, found ;.
When the keyword END is not followed by a semicolon while processing an IF or
WHILE block:
*** ERROR[13508] Expecting ;, found EXEC.
13506 COBOL output source file name cannot be opened.
13507 Error while parsing source: detail text.
13508 Expecting keyword, found keyword.