-900 is sqlcode
SQL0900N The application state is in error. A database
connection does not exist.
Explanation: A connection to a database does not exist. This
may be due to one of the following reasons:
o A serious error in the application state has caused the
database connection to be lost.
o The application may have disconnected from a database and not
established a new current connection before executing the
next SQL statement.
User Response: Reestablish a current connection be either
switching to an existing dormant connection (using CONNECT TO or
SET CONNECTION) or by establishing a new connection (using