Format of messages sent to a remote IMS system

The OTMA remote ALTPCB output message created by the local IMS application must follow the standard format for IMS transaction messages.

The following example shows the standard format for IMS transaction messages:
LLZZ | TRANCODE | DATA

The following table describes the parts of the format:

Table 1. Transaction message format
Field Name Field Length Description
LL 2 The length of the message, including the LL and ZZ fields.
ZZ 2 Binary zeros.
TRANCODE 8 A transaction to be scheduled in the remote IMS system. If a transaction code is specified on the RMTTRAN parameter of the OTMA destination descriptor, IMS Connect inserts the transaction code here.
DATA Variable The data to be processed by the IMS application program on the remote IMS system. If the sending application program specifies a transaction code, it is included here in the first 8 bytes of the DATA section.