IBM Documentation report this:
-981 THE SQL STATEMENT FAILED BECAUSE THE RRSAF CONNECTION IS NOT IN A STATE THAT ALLOWS SQL OPERATIONS, REASON reason-code.
Explanation
The application attempted to execute an SQL operation, but the RRSAF connection was not in a state that allows the processing of SQL statements.
System action
The statement cannot be processed.
Programmer response
Correct the error in the application, REBIND, and run the application again.
SQLSTATE
57015
So, try to check detail message, verify the reason code will help you to resolve the problem.