|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
PYMQI Reset QSTATS |
« View previous topic :: View next topic » |
Author |
Message
|
bobbee |
Posted: Fri Jun 10, 2022 12:57 pm Post subject: PYMQI Reset QSTATS |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
I am writing a python script for a customer. It is collecting stats.
I started with RESET QSTATS
I issued the command against BOBBEE* and I get back the response. Before I did this, I put 8 messages to ‘queue BOBBEE’. I was expecting to see MQIA_HIGH_Q_DEPTH(36) preceding a value of 8. What I see is this in the message. ( 3 preceding the number 8 )
Code: |
2022-06-10 11:11:24,621 - DEBUG - TCH-MQH-014 - Queue STATS RESPONSE = {2016: b'BOBBEE ', 1103: 1105, 3: 8, 1437: 1, 1438: 2088960, 17: 0, 3130: b'', 3131: b'', 3128: b'', 3129: b'', 3073: b'', 123: 0, 1227: -1, 18: 0, 1226: [-1, -1], 1027: 0} |
My code was doing a lookup against
Code: |
mqiacf = _MQConst2String(CMQCFC, 'MQIACF_')
mqcacf = _MQConst2String(CMQCFC, 'MQCACF_') |
Looking to match the PCF code with a description. The 3 comes up as not found.
I looked for the ‘3’ in the C include tables and can find nothing appropriate as a description |
|
Back to top |
|
 |
markt |
Posted: Fri Jun 10, 2022 10:03 pm Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
As my response to your direct email said, that's not a response to RESET QSTATS but INQUIRE_Q_STATUS |
|
Back to top |
|
 |
bobbee |
Posted: Sat Jun 11, 2022 2:49 am Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
Thanks for the response. I do see the error of my ways after reading your response. Glad I am only human!!!
For the records I was issuing a INQ QSTATS and NOT a RESET QSTATS. They look so close!!! I am alright now.
THANKS!!!!!!!!!!!!! |
|
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
|
|
|
|