Building CICS applications

To build an application for WebSphere MQ for z/OS that runs under CICS(R), you must:

CICS provides a procedure to execute these steps in sequence for each of the programming languages it supports.

You must include:

When you have completed these steps, store the load module in an application load library and define the program to CICS in the usual way.

Figure 22. Fragments of JCL to link-edit the object module in the CICS environment

  ·
  ·
  ·
//* //* WEBSPHERE MQ FOR Z/OS LIBRARY CONTAINING CICS STUB //* //CSQSTUB DD DSN=++HLQ.MQM100++.SCSQLOAD,DISP=SHR //*
  ·
  ·
  ·
//LKED.SYSIN DD * INCLUDE CSQSTUB(CSQCSTUB)
  ·
  ·
  ·
/*

Before you run a CICS program, your system administrator must define it to CICS as a WebSphere MQ program and transaction, You can then run it in the usual way.