Application data section

The application-data section of OTMA messages is variable length and follows the user-data section of the message prefix.

You include IMS commands and transactions in the application-data section. The data in this section is unchanged by the receiver (server or client), and is transmitted directly to the server application program or to the client application program.

The application data portion of the OTMA message prefix is mapped by the TMAMAPP DSECT of the DFSYMSG macro.

The following table is a summary of the content of the application-data section of the message prefix. The summary includes, as appropriate, byte, length, content, hexadecimal value, the meaning, and includes usage comments.

Table 1. Application data
Byte Length Content Description
0 2 Length Length of the application-data section.

The length includes the length field itself. The maximum length is 32 KB (32767 bytes).

2 2 ZZ Application data IMS ZZ fields.
4 * Application data The optional application data.

Multiple send requests might be required for a server output segment. For a client's transaction, the transaction code is specified in the first 8 bytes of the data area following the LLZZ. For transactions specified with MULTSEG, the standard IMS LLZZ format is required for each segment. The transaction code is only required in the first segment.

Variable length. The maximum length of application data is 32 KB-4.