Values for asynchronous output processing
To retrieve asynchronous output from the OTMA tpipe hold queue, the IMS Connect client application must issue a RESUME TPIPE request. To issue a RESUME TPIPE call, you need to specify the socket type, commit mode, sync level, timer setting, and RESUME TPIPE call options.
To issue a RESUME TPIPE call, specify the following values:
- Socket Type Transaction or Persistent
- Commit Mode Zero
- Sync level Confirm
- Timer setting The timeout range required by your enterprise.
- RESUME TPIPE options Single, single with wait, auto, noauto, or nooption.
For example, if you want to create a dedicated output client that only receives unsolicited output, start a client application to complete the following sequence:
- The client application performs a connection sequence.
- The client application sends a RESUME TPIPE call with the correct
settings in the IRM.Recommendation: Set the IRM_TIMER value to X'FF', which causes IMS Connect to override the TIMEOUT value in the configuration file and wait forever.
- The client application sends a TCP/IP READ to receive the output message.
- The client application sends an acknowledgment (ACK–Set the IRM_TIMER value to the same value you set on the RESUME TPIPE call.) and returns to the TCP/IP READ.
The timer interval that is set in IRM_TIMER is a different timer value from the one that is set in the IMS Connect configuration file (that value is TIMEOUT=).
The IRM_TIMER value is the wait value to wait for a RECEIVE issued from the client following a RESUME TPIPE call, or an ACK to the RECEIVEs following the RESUME TPIPE call.