runmqsc will allow you to issue a CLEAR QUEUE command.
But this command will fail if there is an application that has the queue open.
In that case, you would need something like the Q utility (a support pack) which will let you read each message from the queue into an empty file. _________________ I am *not* the model of the modern major general.
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
How about running amqsget ( sample c program) from the command line.
the format is :
amqsget <queue name> <queue manager name> _________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
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