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 IndexIBM MQ API SupportOpen Input Count = 0 while application is consuming

Post new topicReply to topic
Open Input Count = 0 while application is consuming View previous topic :: View next topic
Author Message
pakuma3
PostPosted: Tue Oct 22, 2019 9:56 am Post subject: Open Input Count = 0 while application is consuming Reply with quote

Newbie

Joined: 27 Feb 2015
Posts: 6

Hi guys, This is not a problem itself, but I would like to know why this happens, maybe this has happened to any of you.

Some consumer applications (I dont have access to them or their code ) dont increase the Open Input Count value in the queues when they connect. I tried setting MONQ(HIGH) also checking the queue status as TYPE(HANDLE) but they dont show up, even while they are actively consuming.

I was wondering if there is any type of call in the application programming that might cause this behavior.

Again, this is nitpicking a minor issue but I would like to figure out why.

Thanks in advance.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Oct 22, 2019 4:10 pm Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7582

They open the queue, get the message and close the queue. That happens so fast that you just haven't been lucky enough to issue your command to display open input count at the exact milliseconds they OpenThenGetThenClose.

No, there is no way to get a message from a queue that is not open for gets.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Oct 22, 2019 5:27 pm Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 8534
Location: US: west coast, almost. Otherwise, enroute.

As Mr. Potkay suggests, likely, the entire sequence of connect, open, get/put, close, disconnect, took a few microseconds.

For your amusement, you could run an mq trace on the app to see this interesting behavior.
_________________
There are two types of people in this world:
1) Those that can extrapolate from incomplete data
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Oct 23, 2019 12:53 am Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 724
Location: Germany

You could switch statistics and accounting on for this queue.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ API SupportOpen Input Count = 0 while application is consuming
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.