COBDB0117 Invalid format of compound SQL statement. This condition is non-recoverable; subsequent (valid) SQL statements may generate spurious errors.

A compound SQL statement did not precompile successfully.

Resolution:

Look at the IBM SQL Reference for details of how to specify a valid compound SQL statement.