Examples of message structures in a simple interaction
The following examples show the message structures in a simple interaction between IMS Connect and a user-supplied client application program.
The flow represented in each example is a simple send-receive transaction that uses commit-mode 1 and sync level=confirm, as defined by the following IRM values:
- IRM_F2 = X'20' (for CM1)
- IRM_F3 = X'01' (for sync level = confirm)
- IRM_F4 = X'40' (for a send-receive interaction)
HWSSMPL0 message structures in a simple interaction
The example flow shown in the following table is a simple send-receive transaction between a user-supplied IMS application program and IMS Connect when the sample user message exit routine HWSSMPL0 is used (IRM_ID = *SAMPLE*).
In the table:
- The flow starts at the top of the table and progresses down.
- The vertical bars separate the various structures within each message.
- The input transaction and transaction response can have one or more LLZZ data structures.
- The LL RMM structure shown in the transaction response is optional.
- 0004 0000 is the 4 byte end-of-message structure.
Client state | Example message structure |
---|---|
Client send (input transaction) | LLLL | LL IRM | LLZZ data | LLZZ data | 0004 0000 |
Client receive (transaction response) | LL RMM | LLZZ data | LLZZ data | LL CSM |
Client send (ACK) | LLLL | LL IRM | 0004 0000 |
Client receive (deallocate confirm) | LL RSM |
HWSSMPL1 message structures in a simple interaction
The example flow shown in the following table is a simple send-receive transaction between a user-supplied client application program and IMS Connect when the sample user message exit routine HWSSMPL1 is used (IRM_ID = *SAMPL1*).
In the table:
- The flow starts at the top of the table and progresses down.
- The vertical bars separate the various structures within each message.
- The input transaction and transaction response can have one or more LLZZ data structures.
- The LL RMM structure shown in the transaction response is optional.
- 0004 0000 is the 4 byte end-of-message structure.
Client state | Example message structure |
---|---|
Client send (input transaction) | LLLL | LL IRM | LLZZ data | LLZZ data | 0004 0000 |
Client receive (transaction response) | LLLL | LL RMM | LLZZ data | LLZZ data | LL CSM |
Client send (ACK) | LLLL | LL IRM | 0004 0000 |
Client receive (deallocate confirm) | LLLL | LL RSM |