Writing your own CICS-WebSphere MQ API-crossing exit program

You can use the sample API-crossing exit program (CSQCAPX) that is supplied with CICS® as a framework for your own program. You must write your exit program to be threadsafe and declare your exit program as threadsafe.

About this task

For performance reasons, write your program in assembler language. If you write it in any of the other languages supported by CICS , you must provide your own data definition file. Link edit your program as AMODE(31) and RMODE(ANY). The layout of the MQXP parameter list that is passed to the crossing exit program is defined in the program.

Procedure

Results

The CICS system tries to load the exit program when CICS connects to WebSphere MQ for z/OS . If this attempt is successful, message DFHMQ0301I is sent to the CKQC panel or to the system console. If the load is unsuccessful, for example if the load module does not exist in any of the libraries in the DFHRPL concatenation, message DFHMQ0315E is sent to the CKQC panel or to the system console.


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