If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How do you usually housekeep DB2 archived logfiles on Windows?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-08, 05:28
oracbase oracbase is offline
Registered User
 
Join Date: Feb 2008
Posts: 6
How do you usually housekeep DB2 archived logfiles on Windows?

Hi All,

I can only find UNIX scripts that perform housekeeping of DB2 archived logfiles.

How do most of you housekeep DB2 archived logfiles on windows platform?
I know the db2 commands to get the first active logfiles and the prune command to housekeep archived logfiles. But I'm not sure how to piece all these commands together in a windows batch file and make it run like a unix script ( or is it really possible)?

Please help.

Thanks
Oracbase
Reply With Quote
  #2 (permalink)  
Old 09-22-08, 10:17
smith43017 smith43017 is offline
Registered User
 
Join Date: Sep 2006
Posts: 92
I assuming here as DISK you can use tape too.


db2 UPDATE DB CFG FOR DBANAME USING LOGARCHMETH1 DISK:c:/tlogarchived;
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On