-30050   command-or-SQL-statement-type COMMAND OR SQL STATEMENT INVALID WHILE BIND PROCESS IN PROGRESS

Explanation

A remote command or remote SQL execution was attempted while a remote bind was in progress. The only commands allowed during bind are, BIND STATEMENT, END BIND, ROLLBACK, or COMMIT.

System action

The request is rejected. The local DB2® is disconnected from remote server.

Programmer response

Ensure the remote bind has completed before attempting to execute an SQL statement or process a remote command. COMMIT and ROLLBACK will terminate the bind processing.

SQLSTATE

58011