Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Posts
    6

    Unanswered: 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

  2. #2
    Join Date
    Sep 2006
    Posts
    97
    I assuming here as DISK you can use tape too.


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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •