IMS database problems
Table 1 lists some problems
related to unexpected IMS™ database
actions or failures. They include changes not made or requests for
changes that fail.
Problem | Cause | Resolution |
---|---|---|
The IMS transaction is terminating without performing the required function and without issuing any error messages | The IMS transaction might not be checking for interface errors. | It is the responsibility of the IMS transaction programmer to identify and issue error messages if the IMS database manager, IMS transaction manager, or TCP/IP socket interfaces fail. |
The client program is not receiving any data from the implicit IMS transaction, but is receiving a successful CSM | The IMS transaction might be issuing an IMS database rollback (ROLB) call. If the IMS transaction issues a ROLB call, all output accumulated by the IMS assist module is discarded as part of the ROLB function. Depending on how the IMS transaction is coded, it might complete without further output (ISRT calls). | Use caution in issuing ROLB calls in implicit IMS transactions using the IMS assist module. Make certain you understand the details about implicit-mode support for ROLB processing in z/OS Communications Server: IP IMS Sockets Guide. |
Local IMS transaction manager ISRT/GU/GN calls are failing when issued in IMS transactions | Local calls assume a terminal has
requested the IMS transaction.
The input and output of data, however, is sent across the socket connection
for IMS transactions started
by the Listener. The following is a list of specific causes of the
problem:
|
Do not issue local IMS transaction manager calls from transactions started by the Listener. An implicit IMS transaction must use the IMS assist module calls, which accesses either a terminal or socket connection, as required. An explicit IMS transaction must interface directly to the socket connection. |
The ISRT call fails for an implicit IMS transaction if a large amount of data is output | The IMS assist module restricts the total output for a single IMS transaction execution to 32KB. | Limit the output for an implicit IMS transaction using the IMS assist module to a total of 32KB. |
The IMS database manager commits the changes made by an IMS transaction, but the client program receives an error |
|
|
The client program does not receive a valid CSM from an implicit IMS transaction | The client program might not have completed the response protocol correctly. The client program must read the response data until it reads an EOM segment. The CSM immediately follows the EOM. | Use the IP packet trace facility to determine
whether the IMS transaction is
sending a valid EOM segment followed by a valid CSM segment. See Using IP packet trace for details about the IP packet
trace facility. If the correct message segments are being sent, correct
the client program to receive the response data. See z/OS Communications Server: IP IMS Sockets Guide for the format of the EOM and CSM segments. |