ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » PYMQI Reset QSTATS

Post new topic  Reply to topic
 PYMQI Reset QSTATS « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Fri Jun 10, 2022 12:57 pm    Post subject: PYMQI Reset QSTATS Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 541
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
View user's profile Send private message Send e-mail AIM Address
markt
PostPosted: Fri Jun 10, 2022 10:03 pm    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 503

As my response to your direct email said, that's not a response to RESET QSTATS but INQUIRE_Q_STATUS
Back to top
View user's profile Send private message
bobbee
PostPosted: Sat Jun 11, 2022 2:49 am    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 541
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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » PYMQI Reset QSTATS
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.