-199   ILLEGAL USE OF KEYWORD keyword. TOKEN token-list WAS EXPECTED

Explanation

A syntax error was detected in the statement at the point where the keyword keyword appears.

As an aid to the programmer, a partial list of valid tokens is provided in SQLERRM as token-list. Only those tokens that will fit are listed. Some tokens in the list might not be valid in statements to be executed by DB2®; those tokens are valid for sending to other database management systems.

System action

The statement cannot be processed.

Programmer response

Examine the statement in the area of keyword keyword. A colon or SQL delimiter might be missing.

Verify that the clauses are in the correct order. If the reserved word that is identified in the messages is listed as a reserved word, make the word a delimited identifier.

SQLSTATE

42601