|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Monitoring multiple MQ Connections in different CICS regions |
« View previous topic :: View next topic » |
Author |
Message
|
Sergio Pereira Franco |
Posted: Mon Sep 10, 2007 12:42 pm Post subject: Monitoring multiple MQ Connections in different CICS regions |
|
|
Newbie
Joined: 10 Sep 2007 Posts: 1
|
I have various CICS regions connected to different Queue Managers running on different LPARs. To avoid entering on each queried SYSID the CKQC transaction, I’d like to use one single CICS to run TRAA transaction which will monitor each CICS connection to the correspondng Queue Manager.
PGMA pgm executed by TRAA transaction controls 3270 screen display with MQ data I want to display and the linked-to PGMB executes on different SYSIDs to gather MQ data.
According to Operating the CICS Adapter, Displaying connection status and in-flight tasks section in WebSphere MQ for z/OS System Admin Guide, you can display the MQSeries connection status using:
EXEC CICS LINK PROGRAM('CSQCDSPL') COMMAREA('CKQC DISPLAY')
My 1st try was to code the above command in PGMB, including SYSID(REMOTE_SYSID). Although I've got an ADPL abend which seems to indicate I cannot use DPL to execute a query of a remote MQ connection.
One suggested by-pass was to code in PGMA:
EXEC CICS START TRANSID(TRAB) SYSID(REMOTE_SYSID)
to avoid DPL.
The TRAB transaction executes PGMB which, in turn, executes:
EXEC CICS LINK PROGRAM('CSQCDSPL') SYSID(REMOTE_SYSID) COMMAREA('CKQC DISPLAY')
Doing so, the ADPL abend doesn't surface but, as stated in the above mentioned manual, the COMMAREA option can only be used when pgm is executed at PLT time, so CSQC240D msg is written to CKQQ TD queue indicating the task is not associated to a terminal. The INPUTMSG parm leads to the same problem when used in place of COMMAREA. The goal is to have CSQC453I msg in CQKK TD queue in order for PGMA to read it and display it on screen.
CSQC453I indicates if MQ connection is OK and the number of in-flight tasks using MQ.
That's what I want to show for each queried SYSID, but as far as I could understand the whole thing was designed for the MQ administrator to run CKQC from a terminal or to run the CSQCDSPL pgm only locally at the very same queried SYSID. I think the data retrieved from CKQC are in the CICS Adapter control blocks, so the possibility to query a remote CICS Adapter was not considered.
My question is:
Is there a way to implement such MQ status monitoring of multiple CICS regions from a single CICS ? |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Sep 10, 2007 5:10 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
IIRC CICS can only connect to one queue manager. All work is performed through this connection handle. Any MQCONN is ignored if coded.
Of course it is a few releases of MQ ago that I last drove into the manuals.  |
|
Back to top |
|
 |
rtsujimoto |
Posted: Wed Sep 12, 2007 8:20 am Post subject: |
|
|
Centurion
Joined: 16 Jun 2004 Posts: 119 Location: Lake Success, NY
|
Since the output is written TD, you could write a TD exit (XTDOUT) to capture the message and send it back to the central CICS region. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|