The message names a condition such as Db2 not up, not operational, shutting down, restricted access mode, allocation error, CICS attachment not up, or CICS ENTRY disabled. SQLSTATE is 57015.
Do not issue more SQL after this code; IBM says the results would be unpredictable.
Typical causes
Db2 is not up, not operational, or shutting down.
A required database, table space, table or index is unavailable.
The application plan does not exist, or data set allocation failed, or virtual storage is insufficient.
The plan is being run from a system that was restricted when it was bound (check SYSPLSYSTEM).
The CICS attachment is not up or the CICS entry is disabled.
How to fix it
Look up the Db2 reason code in the message.
If Db2 or a required object is unavailable, wait until it is available before running the application again.
If plan allocation failed, REBIND the plan to see the explanatory messages.
For CICS attachment failures, fix the cause given by the reason code and restart the attachment.