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 » Mainframe, CICS, TXSeries » What is the actual Size of a Queue?

Post new topic  Reply to topic
 What is the actual Size of a Queue? « View previous topic :: View next topic » 
Author Message
Northsider
PostPosted: Mon Jun 11, 2007 5:44 am    Post subject: What is the actual Size of a Queue? Reply with quote

Novice

Joined: 09 Mar 2005
Posts: 16

Hi all,

I was wondering if there was a way to see the size of a queue (in megabytes, tracks, cylinders) in online and also in an offline situation? (So actual size instead of messages?)
(This would be quite practical in my job, where there are queue managers with pagesets / storage classes existing out of thousands of queue's. And you have to pinpoint a queue which is extremely has hung the psid with the looping of large/small messages.
Back to top
View user's profile Send private message
rtsujimoto
PostPosted: Mon Jun 11, 2007 7:30 am    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

Ii don't know of any *direct* way for determining what you want (short of IBM providing the logic). But, there is a formula in the SAG that is used to size a pageset so, you could write a program that browses a given queue, totaling the bytes for all messages on that queue, and usedthat total in conjunction with the formula to back-in to the (approximate) queue size.
Back to top
View user's profile Send private message
Northsider
PostPosted: Mon Jun 11, 2007 7:53 am    Post subject: Reply with quote

Novice

Joined: 09 Mar 2005
Posts: 16

thnx But before i gonna write this script / handy program.. which does a browse in vsam and "calculates / analyse" the size of queue.x, I wanted to know if something like this has already been made?


now a realy noob question - Are messages in a Queue always the same size?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 11, 2007 7:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Northsider wrote:

now a realy noob question - Are messages in a Queue always the same size?


Only if they're the same kind of message (i.e. written by the same application in response to the same input). There's no MQ reason why messages of different types can't be mixed on a queue, so long as they're less than the queue's maximum message length.

So if your design says that each particular message type is placed on it's own queue for the convienience of the reading application, then yes they are.

If the reading application dynamically determines the message type by a means of it's choice & all the messages are piled up in a single queue, then no they're not.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rtsujimoto
PostPosted: Mon Jun 11, 2007 8:52 am    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

It doesn't matter what the size of each message is. If it's larger than a CI, it will get split across two or more CIs. The formula takes that into account. You just want to get (the approximate) number of bytes consumed by a queue.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » What is the actual Size of a Queue?
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.