To retrieve asynchronous output on a dedicated
persistent socket connection, use commit mode 0 interaction and specify
a client ID.
Procedure
- Execute a commit mode 0 interaction with the interactionVerb property
of IMSInteractionSpec set to SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_NOWAIT,
or SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_WAIT.
- Provide
a value for the clientID property. The clientID property
is required because it determines the tpipe from which the asynchronous
output is retrieved.
- To retrieve output messages
from a commit mode 0 interaction on a dedicated persistent socket,
the client ID that is specified on the SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_WAIT
or SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_NOWAIT interaction must match the
value that is specified for the original commit mode 0 interaction.
- To retrieve output messages sent to an alternate PCB, the
client ID that is specified on the SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_WAIT
or SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_NOWAIT interaction must match the
name of the alternate PCB.
- To retrieve output messages
that were rerouted to a reRouteName destination,
the client ID that is specified on the SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_WAIT
or SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_NOWAIT interaction must be set
to the destination that is specified by the reRouteName property.