IMS attachment facility messages

When the attachment between Db2 and IMS is run in an IMS online environment, the attach messages are issued to the master terminal operator (MTO) and diagnostic information is issued to the IMS log.

In the batch environment, the Db2 IMS attach messages and IMS attach diagnostic information are issued to the DDOTV02 output data set.

IMS attachment facility message format

The IMS attachment facility writes messages when the attach package connects to or disconnects from Db2, and when any resolve indoubt problems occur.

The format of the attach messages is shown in the following figure.

Figure 1. IMS attachment facility message format
  LOC     NAME       SIZE       DESCRIPTION
  000               FIXED(15)  LENGTH OF THE RECORD
  002               FIXED(15)  RESERVED
  004               CHAR(*)    ACTUAL MESSAGE TEXT