SQL/MX 2.x Messages Manual (G06.24+, H06.03+)
SQLC and SQLCO Preprocessor Messages (13000
through 13999)
HP NonStop SQL/MX Messages Manual—523730-004
13-23
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 13509
Cause. You did not enter the keyword that SQL/MX was expecting. When the
preprocessor encounters certain keywords, it expects them to be followed by other
specific keywords. For example:
This error is issued if the preprocessor does not find the keyword DIVISION
immediately after any of these keywords:
IDENTIFICATION
ENVIRONMENT
DATA
WORKING-STORAGE
PROCEDURE
***ERROR[13509] Expecting DIVISION after DATA, found EXEC.
This error is issued if the preprocessor does not find the keyword SECTION
immediately after any of these keywords:
FILE
LINKAGE
***ERROR[13509] Expecting SECTION after FILE, found EXEC.
This error is issued if the preprocessor does not find the picture representation
immediately after the keyword PICTURE:
***ERROR[13509] Expecting picture specification after PICTURE,
found EXEC.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 13510
Cause. You specified COPY or REPLACE statements in the SQL declare section.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
13509 Expecting keyword1 after keyword2, found keyword3.
13510 The SQL declare section may not contain COPY or
REPLACE.