Clear log

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Pk39565
Premium Member
Premium Member
Posts: 34
Joined: Tue Dec 25, 2007 12:03 am
Location: Brisbane

Clear log

Post by Pk39565 »

Is there anyways to delete all the logs of the jobs in a project at a time
Praneet
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

Did you mean purge the last log before running the job again ?
Pk39565
Premium Member
Premium Member
Posts: 34
Joined: Tue Dec 25, 2007 12:03 am
Location: Brisbane

Post by Pk39565 »

hamzaqk wrote:Did you mean purge the last log before running the job again ?
actually I have requirement to purge the all logs from a projects since log files impacting on disk space.
mean to say purging log files of jobs involved in project at a single short
Praneet
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Adminstrator client has project level setting for purge log of jobs.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Adminstrator client has project level setting for purge log of jobs.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What a very short-sighted requirement! You free up the space taken by the logs, use it for something else, then there's no space left to log anything.

Tell "them" to go buy some more disk.

Certainly purging your logs is good practice, but this does not automatically give back the disk space. Resist! Hang on to the disk space that you clearly need.

If you have to compromise, purge all but the last week or so's worth of log entries and yield up that space (via RESIZE). If a write to a DataStage log encounters a disk full or quota exceeded condition, it is almost certain to end up corrupted, and you don't want that!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

All that does is set the default for any newly created jobs. Nothing exists to do what you want ootb, someone with knowledge of the internals could write something however.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

... once you've determined what it is that you DO want (see my earlier post).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply