API stub program to access WebSphere MQ MQI calls

To access WebSphere® MQ, application programs that run under CICS® must be link-edited with the supplied API stub program, CSQCSTUB, unless they are using dynamic calls. CSQCSTUB provides the application with access to all MQI calls.

For information about calling the CICS stub dynamically, see the WebSphere MQ Application Programming Guide.

CSQCSTUB is shipped as module DFHMQSTB in the SDFHLOAD load library, and as DFHMQSTX in the SDFHAUTH load library. Both modules are defined with the following aliases:
  • CSQCBFMH
  • CSQCCB
  • CSQCCLOS
  • CSQCCONN
  • CSQCCONX
  • CSQCCTL
  • CSQCCTMH
  • CSQCDISC
  • CSQCDTMH
  • CSQCDTMP
  • CSQCINQ
  • CSQCIQMP
  • CSQCMHBF
  • CSQCOPEN
  • CSQCGET
  • CSQCPUT
  • CSQCPUT1
  • CSQCSET
  • CSQCSTAT
  • CSQCSTMP
  • CSQCSTUB
  • CSQCSUB
  • CSQCSUBR

The aliases CSQBFMH, CSQCCB, CSQCCTL, CSQCCTMH, CSQCDTMH, CSQCDTMP, CSQCIQMP, CSQCMHBF, CSQCSTAT, CSQCSTMP, CSQCSUB, and CSQCSUBR are only used when CICS is connected to Version 7 or later of WebSphere MQ.

Existing CICS- WebSphere MQ applications can run unchanged with the CICS shipped CICS- WebSphere MQ Adapter. You do not need to compile or link-edit them again. For new or changed applications, you can use existing link-edit procedures, and you can use stubs shipped with CICS or WebSphere MQ, unless the application uses the new API calls that were added in Version 7 of WebSphere MQ. The Version 7 API calls are only supported in CICS when you use the stubs shipped with CICS, not the stubs shipped with WebSphere MQ. The new API calls are MQBUFMH, MQCB, MQCTL, MQCRTMH, MQDLTMH, MQDLTMP, MQINQMP, MQMHBUF, MQSETMP, MQSTAT, MQSUB, and MQSUBRQ.



zc12080_.html | Timestamp icon Last updated: Monday, 5 June 2017