| |
- Causa
- CONNECTION NOT ESTABLISHED: DB2 condition REASON reason-code , TYPE resource-type
NAME
resource-name
The connection to DB2 failed for the reason indicated by
condition, which can be any of the following:
- DB2 not up
- DB2 not operational
- DB2 shutdown in progress
- DB2 restricted access mode
- Allocation error
- DB2 - CICS attachment not up
- DB2 - CICS ENTRY disabled
- The object is dependent on facilities of a release of DB2 that is
newer than the release that you are currently running (fall back).
Possible causes of an allocation error are:
- The application plan does not exist.
- The application plan is inoperative. An explicit REBIND or BIND is
required.
- The application plan is invalid. Underlying resources have changed.
- A required database, table space, table, or index is unavailable.
- Data set allocation failed for a required data set.
- There is insufficient virtual storage.
- The application is trying to execute the plan from a system
(environment) that was restricted when the plan was bound or rebound.
Check the SYSPLSYSTEM table to determine from which systems (for
example, IMS or CICS) the plan can be executed.
If the condition is "CICS attachment not up", then NAME indicates the DB2
subsystem that is not available. The reason code indicates the reason the
attachment is not available.
If the condition is "CICS entry disabled", then NAME indicates the entry
that is disabled.
- Ação do sistema
- The statement cannot be executed.
The connection to DB2 is not established.
- Resposta ao Desenvolvedor
- If the connection failed because either DB2 or a required database, table space, table, or index was unavailable, wait until it is available before
invoking the application again.
If allocation failed for an application plan, REBIND the plan to determine the problem. Error messages are produced explaining why the plan could
not be allocated.
For other types of allocation errors, installation action might be required to correct the problem.
For CICS attachment failures, resolve the primary cause as noted by the reason code. Then restart the attachmentbt.
The reason-code, resource-type, and resource-name might not be available.
If they are not available, nothing appears. If they are available, refer to Section 4. DB2 Codes for an explanation of
the reason-code, resource-type, and resource-name.
SQLSTATE: 57015
© Copyright IBM Corp.
|
| |