Author |
Message
|
hin3407 |
Posted: Mon Nov 19, 2012 10:35 am Post subject: purging an MQ local Queue from AIX |
|
|
Centurion
Joined: 17 Oct 2006 Posts: 120
|
How can I purge a local MQ queue from AIX if I am unable to do it via PCF command or locally via a clear ql(QUEUE) command?
My command hangs when I try it via MQSC. Can I purge a local queue file to purge just the data but not the queue and properties? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Nov 19, 2012 11:11 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
hin3407 |
Posted: Mon Nov 19, 2012 11:17 am Post subject: |
|
|
Centurion
Joined: 17 Oct 2006 Posts: 120
|
Still hangs, any other suggestions?
What about purging a local queue file somewhere? |
|
Back to top |
|
 |
zpat |
Posted: Mon Nov 19, 2012 11:34 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
Andyh |
Posted: Mon Nov 19, 2012 11:35 am Post subject: |
|
|
Master
Joined: 29 Jul 2010 Posts: 239
|
If an MQ command hangs you should contact IBM support.
Were any FDC's produced, in particular were any long lock wait FDC's produced ?
If the queue is extremely deep and the index for this queue is being loaded into memory, then no other operation can complete against this queue until the index is fully loaded. In these circumstances the load is likely to be I/O (read) intensive. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Nov 19, 2012 11:45 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
hin3407 wrote: |
Still hangs... |
What do you mean by this? Exactly what command(s) did you issue? _________________ 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 |
|
 |
hin3407 |
Posted: Mon Nov 19, 2012 12:11 pm Post subject: |
|
|
Centurion
Joined: 17 Oct 2006 Posts: 120
|
Here is a copy:
server****:/var/mqm/errors#runmqsc QMGR***
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QMGR***.
clear ql(QUEUEU NAME)
----------
It just hangs and does not process anything after that. |
|
Back to top |
|
 |
exerk |
Posted: Tue Nov 20, 2012 12:49 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
lancelotlinc wrote: |
Use the amsmqget sample program to read all the messages. |
Would that be the amqsget sample, or something else? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Nov 20, 2012 6:43 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
exerk wrote: |
lancelotlinc wrote: |
Use the amsmqget sample program to read all the messages. |
Would that be the amqsget sample, or something else? |
So sorry, its been a while since I've used it. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Nov 20, 2012 6:44 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
hin3407 wrote: |
Still hangs, any other suggestions?
What about purging a local queue file somewhere? |
Impossible, _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
exerk |
Posted: Tue Nov 20, 2012 6:44 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
lancelotlinc wrote: |
exerk wrote: |
lancelotlinc wrote: |
Use the amsmqget sample program to read all the messages. |
Would that be the amqsget sample, or something else? |
So sorry, its been a while since I've used it. |
No worries, I was wondering whether it was a third-party offering or similar. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Nov 20, 2012 7:16 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Other than this symptom, does the qmgr work at all?
Do application programs run successfully? _________________ 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 |
|
 |
|