Author |
Message
|
sbbdev |
Posted: Sun Apr 19, 2009 10:29 pm Post subject: CLRMQMQ - Clearing Queues |
|
|
Novice
Joined: 03 Sep 2008 Posts: 18
|
Dear all,
I am trying to create a script that deletes all the content (messages) of a certain queue.
I made a search and got the CLRMQMQ commend.
but i do not know how to use it, and where to run it,
I used it on the command prompt buti got the following error :
"CLRMQMQ' is not recognized as an internal or external command,
operable program or batch file"
Please help  |
|
Back to top |
|
 |
zpat |
Posted: Sun Apr 19, 2009 11:18 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
sbbdev |
Posted: Sun Apr 19, 2009 11:24 pm Post subject: |
|
|
Novice
Joined: 03 Sep 2008 Posts: 18
|
The platform is windows server 2003. MQ version 5.3 |
|
Back to top |
|
 |
zpat |
Posted: Sun Apr 19, 2009 11:41 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Have you tried reading the WebSphere MQScript (MQSC) Command Reference? |
|
Back to top |
|
 |
sbbdev |
Posted: Sun Apr 19, 2009 11:54 pm Post subject: |
|
|
Novice
Joined: 03 Sep 2008 Posts: 18
|
|
Back to top |
|
 |
exerk |
Posted: Mon Apr 20, 2009 12:08 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
From the construction of the command, I'd say that's for iSeries/AS400/i5/OS (whatever you want to call it theses days), and pretty much confirmed by the Info Centre. _________________ 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 |
|
 |
zpat |
Posted: Mon Apr 20, 2009 12:35 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Google is not always the best way to find the answer. Look in the IBM manuals.
CLEAR QLOCAL looks like one option (RUNMQSC). |
|
Back to top |
|
 |
JosephGramig |
Posted: Mon Apr 20, 2009 12:46 pm Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Your MQ 5.3 version is way beyond "End Of Service".
Migrate to a supported version. |
|
Back to top |
|
 |
|