Reducing Log file entries

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
gup
Premium Member
Premium Member
Posts: 44
Joined: Tue Sep 21, 2004 1:15 pm

Reducing Log file entries

Post by gup »

Is there a parameter or setting that you can put into the 7.5.2 environment to keep it from logging 'warnings' when a job runs?

There are some developers that run this huge job and it logs about 400MB of warnings during the run.

Matt
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

1. you can abort the job after 50 warnings.
2. you can disable job log monitor by setting APT_NO_JOBMON to True
3. you can select the warning and "add rule to message handler". in message handler you can supress a particular warning from appearing on the Manager Logs.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sorry, but answers 2 and 3 don't apply to Server jobs.

Your best answer is to fix the job so that it doesn't generate any warnings. There's no reason on the planet why a Server job should generate anything but loverly little green Info messages. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
gup
Premium Member
Premium Member
Posts: 44
Joined: Tue Sep 21, 2004 1:15 pm

Post by gup »

Craig - I 100% agree and that is what I am pushing for.

They need to fix the job. :roll:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yup. Only two ways to keep those warnings in check - either don't create them or abort the job after X warnings to keep them from overflowing your logs.

If neither one of those work, perhaps try setting this parameter:

APT_BAT_UPSIDE_HEAD=True

Oh, wait... Server job. Never mind.
-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 »

Well designed jobs do not generate warnings unless something goes wrong (as opposed to is wrong). Tell your developers to fix the job so that it detects problems rather than generating warnings.
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