No. of Warning Message

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
arindami
Participant
Posts: 28
Joined: Sat Jan 29, 2005 3:14 pm

No. of Warning Message

Post by arindami »

Hi All

Is there any function/utility by which I can know tye number of warning messages generated while executing a job. The basic purpose it to log this value in some table.

Thanks
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Do you mean the number of yellow lines of messages in the job log? You can figure this out by doing using the GetLogSummary API and counting the warning messages returned. Of course, if your job is set to abort after N warning messages you will be capped at the maximum allowed.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply