Preparing CICS and Transaction Server programs

Sample C source for a CICS(R) WebSphere MQ transaction is provided by AMQSCIC0.CCS. You build it using the standard CICS facilities. For example, for TXSeries(R) for Windows(R) 2000:

  1. Set the environment variable (enter the following on one line):
      set CICS_IBMC_FLAGS=-IC:\Program Files\IBM\WebSphere MQ\Tools\C\Include;
      %CICS_IBMC_FLAGS%
  2. Set the USERLIB environment variable:
      set USERLIB=MQM.LIB;%USERLIB%
  3. Translate, compile, and link the sample program:
      cicstcl -l IBMC amqscic0.ccs

This is described in the Transaction Server for Windows NT Application Programming Guide (CICS) V4.

You can find more information about supporting CICS transactions in the WebSphere MQ System Administration Guide.