-900   THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE THE APPLICATION PROCESS IS NOT CONNECTED TO A SERVER

Explanation

A previous failure has placed the application process in the unconnected state. An unsuccessful request to switch the user in a trusted connection can cause the connection to go into an unconnected state. The only SQL statements that can be successfully executed from the unconnected state are CONNECT, COMMIT, ROLLBACK, and local SET statements.

System action

The statement cannot be processed.

Programmer response

It is possible that no response is required because checking for -900 is one way of detecting the unconnected state. If this error is the result of another situation, the logic of the application program must be changed.

SQLSTATE

08003