OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

10.2.8 Message queue files

If an error occurs in a message queue file, an error message is output.

Errors are handled as appropriate to the error messages, as described below.

Organization of this subsection
(1) Physical file space shortage
(2) File error
(3) Unusable disk queue

(1) Physical file space shortage

OpenTP1 must be terminated normally once, and the size of the physical file for the message queue must be increased with the queinit command (-r option specified). OpenTP1 can then be started.

(2) File error

OpenTP1 must be terminated normally once. Then, the physical file for the message queue must be deleted with the querm command, and a new physical file for the message queue must be allocated with the queinit command. OpenTP1 can then be started.

(3) Unusable disk queue

If the disk queue cannot be used for some reason during MCF startup and fallback operation with a memory queue was specified in the extended reservation definition of the MCF manager definitions, processing will resume using the memory queue. When the memory queue is used, messages cannot be recovered during full recovery.

If the disk queue becomes unusable during online operation, it cannot be replaced with the memory queue.

The KFCA11065-W or KFCA11066-W message is output when the fallback operation with a memory queue begins. Whenever either of these messages is output, you must perform recovery from the fallback operation.

The most common cause of a fallback operation is a definition information mismatch. The following are examples of definition information mismatches:

In such cases, use the following procedure to recover from the fall-back operation:

  1. Stop the OpenTP1 system.
  2. Either add the missing queue group ID in the message queue service definition, or correct the queue group ID if it is wrong.
  3. If you added a queue group ID in Step 2, use the queinit command to allocate the physical file of the corresponding message queue file.
  4. If you corrected the MCF application definition or MCF communication configuration definition in Step 2, use the utility startup command to generate a definition object file.
  5. Start the OpenTP1 system normally.

If an error occurs in a message queue file, the messages in the queue cannot be recovered. For received messages, the messages that were to be stored in the input queue can be checked by collecting the IJ. For sent messages, the messages that were to be stored in the output queue can be checked by collecting the OJ. Whether or not the IJ and OJ are to be collected is specified in the application attributes definition.