I found an explanation for this error in IBM site as follows…read on. -104 ILLEGAL SYMBOL “token”. SOME SYMBOLS THAT MIGHT BE LEGAL ARE: token-list Explanation
A syntax error was detected where the symbol “token” occurs in the SQL statement. The list of symbols that might be legal shows some alternate symbols that could possibly be correct at that point, if the preceding part of the statement is entirely correct. However, the preceding part of the statement might be incorrect.
For example, if an important keyword is omitted, DB2® detects the error later, and not always immediately after the point where the keyword should appear.
The list of alternate symbols are only suggestions. Some of those symbols might not even be legal for statements to be executed by DB2.
Those symbols are possibly correct for statements sent to other database management systems. This SQLCODE will also be issued if the RELEASE TO SAVEPOINT statement is specified without a savepoint name.
The other way round we get this error:
DSNH104I E DSNHSM10 LINE yy COL yy ILLEGAL SYMBOL “”. SOME SYMBOLS THAT MIGHT BE LEGAL ARE: CORRELATION NAME