[AIX]

Preparing CICS application programs in AIX

Use XA switch modules to link CICS® with IBM® MQ.

About this task

A prebuilt version of the IBM MQ switch load file amqzsc is supplied with the product, and provides the XA initialization routine. A sample source code file amqzscix.c is also supplied with the product, as an aid to help you develop the XA switches for other transaction messages.

Procedure

  1. Add the prebuilt switch load file amqzsc (CICS for AIX®) to your XAD.Stanza.

    This switch provides the XA initialization routine.

  2. Develop the XA switches for other transaction messages.

    Use the sample source code file amqzscix.c to help you do this.

    Always link your C transactions with the threadsafe IBM MQ library libmqm_r.a., and your COBOL transactions with the COBOL library libmqmcb_r.a.

    See also The XA switch structures.