Hitachi

Hitachi Advanced Database Messages


KFAA30506-E

A query cannot be executed with EXECDIRECT. (M+J+O)

Queries cannot be executed with the CLI function a_rdb_SQLExecDirect(), which performs preprocessing and execution of SQL statements. <SQLSTATE: 07003>

S:

Ignores this SQL statement.

Action:

Correct the application program so that it executes the CLI functions shown below during query execution.

  • a_rdb_SQLPrepare() (SQL statement preprocessing)

  • a_rdb_SQLBindCols() (binds search result columns)

  • a_rdb_SQLExecute() (executes preprocessed SQL statements)

  • a_rdb_SQLFetch() (fetches rows)

  • a_rdb_SQLCloseCursor() (closes cursors)