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 Discussion » deleting older log files prior to certain date?

Post new topic  Reply to topic
 deleting older log files prior to certain date? « View previous topic :: View next topic » 
Author Message
rgprasanna
PostPosted: Thu Jan 03, 2008 8:05 am    Post subject: deleting older log files prior to certain date? Reply with quote

Voyager

Joined: 02 May 2007
Posts: 91
Location: Chennai - India

Hi Guys,

i have a queue manager with linear log...i want to move the log files older than particular date..say by example 01/12/22007...i want all the log files created prior to 01/12/2007 to be moved or archived..


can any one please suggest me ..is that possible?... (i know you can identify which particular log file is required to have restart recovery, media recovery using qmstatus command but don't know how to determine logs created prior to certain date...)


Thanking you in anticipation
Cheers,
Prasanna G
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Jan 03, 2008 8:29 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

deleting files older than a certain date is trivial and not specific to MQ. Sure its possible.

But what are you going to do when your little script deletes log files older than a specific date but that happen to still be needed by the QM for restart or media recovery?

Deleting log files based on date is a bad idea.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 03, 2008 11:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Use the support packs for managing linear log files.
Personally I use MS0L...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » deleting older log files prior to certain date?
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.