Format of IRM extensions
You can use IMS request message (IRM) extensions to send information from IMS Connect client applications without expanding the DSECT that maps the IRM.
The number of IRM extensions in each IRM can vary, and you can define the IRM extensions in the IRM in any order. All IRM extensions contain a 12-byte header. User message exits use the unique identifier (ID) for each IRM extension to determine the contents of the extension. By default, the user message exits process IRM extension IDs as EBCDIC and IRM extension data as binary data. If the IRM extension ID and extension data are not defined in EBCDIC and binary data respectively, modify the user message exit or the TCP/IP application.
Different IRM extensions are supported by different user message exits. If an IRM containing IRM extensions is processed by a user message exit that does not support the extensions, the extensions are ignored.
Field | Length | Hexadecimal offset | Description and settings |
---|---|---|---|
IRMEXTN_LL | 2 | 0 | Length of this IRM extension. |
IRMEXTN_ZZ | 2 | 2 | Reserved field. |
IRMEXTN_ID | 8 | 4 | The unique ID for this IRM extension. Each ID begins and ends with an asterisk (*). The
following IDs can be defined for this field:
|
IRMEXTN_DATA | * | 12 | This field can be used to locate the variable length data that immediately follow the IRM extension ID. The structure of this data depends on the IRM extension ID. By default, the IRM extension data is treated as binary data. |