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 » General IBM MQ Support » MQcommand for deleting msgs from queue for specific days old

Post new topic  Reply to topic
 MQcommand for deleting msgs from queue for specific days old « View previous topic :: View next topic » 
Author Message
jayashankarbijjam
PostPosted: Tue Jan 23, 2018 7:22 pm    Post subject: MQcommand for deleting msgs from queue for specific days old Reply with quote

Newbie

Joined: 23 Jan 2018
Posts: 1

Hello,

i have a queue where i need to delete the message from a number of days.

I have used below commands but didn't work.

dmpmqmsg -m QM -I QUEUE -T7200
qload -m QM -I QUEUE -T7200.

Please help me regarding. Thanks
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Wed Jan 24, 2018 1:14 am    Post subject: Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

Hi...both commands should've worked, are you sure that the queue does have messages older than 5 days, may be worth trying with a lower limit and see. Also it is worth using '-f' option to save the deleted messages somewhere in case you need to restore it later.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Wed Jan 24, 2018 6:23 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Rather than just saying "didn't work"....how about you actually say what did happen and give us a chance of diagnosing the problem. What was the output of the commands ?
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQcommand for deleting msgs from queue for specific days old
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.