by "Mark A" <nobody@[EMAIL PROTECTED]
>
May 11, 2008 at 07:38 AM
> "Kofa" <kovacs.it@[EMAIL PROTECTED]
> wrote in message
> Could you please elaborate on that?
> According to the docs, an archived log file may be renamed and reused.
> Should I use a LOGARCHMETH1 like
> DISK:some-path? Would that result in unused (not active) logs files
> being copied to some-path, and then reused? Or could I supply a user
> exit that 'archives' log files by deleting them?
The syntax you would probably want to use is DISK:/path... The archive
logs
will automatically be copied from the active log path to that path
specified
in the LOGARCHMETH1 parm. You do not need any exit program if you use this
parm.
It is always possible that an archived log file might need to be used. For
example if you needed to restore from a backup and roll forward the logs.
You will need to manually purge the archive logs (unless you have Version
9.5) via a cron script (an exit program is not needed). You will want to
keep the archive logs at least until before the last backup (so you can
roll
the logs forward from the backup time to the current time or end of logs),
and maybe longer if you need to ever restore the next-to-last backup and
then roll forward.