Displaying CICS-MQ connection statistics and call types
To display detailed statistics about the CICS®-MQ connection, such as the number of each type of MQI call made using the connection and the number and state of any indoubt units of work, use the CICS statistics, the CICS-MQ adapter control panels, or CICSPlex® SM.
Procedure
-
To display connection statistics in CICS, issue the
command EXEC CICS EXTRACT STATISTICS MQCONN from a CICS application program.
CICS returns the statistics to the application.For a listing and explanation of these statistics, see CICS-MQ connection statistics.
-
To display connection statistics in the CICS-MQ adapter
control panels, select Connection from the menu bar on the initial panel, then select the
Display action from the menu.
The display connection panel, shown here, includes the connection statistics.
CKQCM2 Display Connection panel Read connection information. Then press F12 to cancel. CICS Applid = VICIC14 Connection Status = Connected QMgr name = MQDD Mqname = MQDD Tracing = On API Exit = Off Initiation Queue Name = VICIC14.INITIATION.QUEUE --------------------------------- STATISTICS --------------------------------- Number of in-flight tasks = 1 Total API calls = 43912 Number of running CKTI = 1 APIs and flows analysis Syncpoint Recovery ---------------------------------------- ------------------- --------------- Run OK 43874 MQINQ 6806 Tasks 26 Indoubt 0 Futile 0 MQSET 0 Backout 0 UnResol 0 MQOPEN 6833 ------ Flows ------ Commit 10 Commit 0 MQCLOSE 6823 Calls 43952 S-Phase 10 Backout 0 MQGET 10032 SyncComp 43922 2-Phase 0 GETWAIT 3399 SuspReqd 0 MQPUT 13399 Msg Wait 7 MQPUT1 5 Switched 43940 F1=Help F12=Cancel Enter=RefreshThe statistics displayed for inflight tasks, instances of CKTI, and API calls, are totals for the current connection, since statistics were last reset. The statistics displayed under the headings APIs and flows analysis, Syncpoint, and Recovery, are statistics produced by the adapter. Press function key F1 to see an explanation of specific fields in this panel, and press Enter to refresh the panel. -
To display connection statistics in CICSPlex
SM, from the main menu select CICS operations > DB2, DBCTL and WebSphere MQ operations views > WebSphere MQ connection statistics.
For a listing and explanation of the information in this viewset, see WebSphere MQ connection statistics - MQCONN.