2.13 Delayed Asynchronous Transaction (/Q Part)

Asynchronous transactions are launched using 'EXEC CICS START TRANSID' requests that may also by launched with a delay set to an interval or to a fixed time.

In this case the transaction request is deposited into a Tuxedo /Q Queue, and when the time is ready, the transaction will be automatically invoked.

For this feature to be available, a few extra components must be activated:

  • A Tuxedo /Q Queue Space named ASYNC_QSPACE must be created.
  • A Tuxedo /Q Queue named ASYNC_QUEUE must be created in the queue space.
  • A TMQFORWARD server must be configured to receive messages from this queue and invoke the application transaction corresponding to the request.

Tip:

TMQFORWARD will always call the same technical transaction called ASYNC_QUEUE (the name of the queue). This transaction will extract the field CX_TRANSID, which will contain the name of the real application transaction to call and will perform a TPACALL(NOREPLY) of this transaction and tpreturn immediately.