Author |
Message
|
Praveensc |
Posted: Thu Apr 24, 2008 1:26 am Post subject: List of Unused queues and Processes |
|
|
 Novice
Joined: 27 Feb 2008 Posts: 23
|
Hai All,
I have to get the list of unused queues of a mainframe queue manager which are not used from last 6 weeks.
In the same way i need to list the unused processes as well.
How can i get these lists ??
Any ideas ?? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 24, 2008 1:38 am Post subject: Re: List of Unused queues and Processes |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Praveensc wrote: |
I have to get the list of unused queues of a mainframe queue manager which are not used from last 6 weeks.
In the same way i need to list the unused processes as well.
|
DISPLAY QSTATUS (on later versions) will give you last get date / last put date. Unused processes can be inferred as processes associated with unused queues.
Or you could use accounting, monitoring, stats, etc. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Praveensc |
Posted: Thu Apr 24, 2008 1:53 am Post subject: |
|
|
 Novice
Joined: 27 Feb 2008 Posts: 23
|
Thats fine. How can i get the usage of queue in last 6 weeks of criteria ??
And DISPLAY PROCESS(*) could not help me in the same way. What shall i do for unused processes ? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 24, 2008 1:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Praveensc wrote: |
Thats fine. How can i get the usage of queue in last 6 weeks of criteria ?? |
By following the suggestions in the Monitoring MQ manual, or buying some monitoring software.
Praveensc wrote: |
And DISPLAY PROCESS(*) could not help me in the same way. What shall i do for unused processes ? |
Like I said, an unused process is one that belongs to an unused queue. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Apr 24, 2008 6:55 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
You can also capture SMF statistics and accounting records for WMQ. This is documented in the WMQ z/OS System Admin and WMQ z/OS System Setup manuals.
Take a look at SupportPac MP1B: WebSphere MQ for z/OS V6.0 (and 5.3.1) - Interpreting accounting and statistics data _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Apr 24, 2008 8:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Praveensc wrote: |
Thats fine. How can i get the usage of queue in last 6 weeks of criteria ??
And DISPLAY PROCESS(*) could not help me in the same way. What shall i do for unused processes ? |
Vitor is not quite right here.
My definition of an unused process is a process that shows up in no queue (after unused queue purge)...
dis ql(*) where (process eq myprocessname)
-- object not found --
With Vitor's definition you risk deleting a process that may be common to multiple queues.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 24, 2008 10:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
With Vitor's definition you risk deleting a process that may be common to multiple queues.
|
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|