Get the Error 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
badhri
Participant
Posts: 42
Joined: Tue Mar 19, 2002 8:15 pm

Get the Error Message

Post by badhri »

Greetings,

Similar to the DSGetJobInfo where I can retrive the Start time, End Time and the status is their a function where I can retrive the complete Error message from the job incase of any Warning/Abort.

I guess the notification activity does this and I would like to know the DS function that it uses to do the same.

Thanks in Advance.

Thanks,
Badhri ...

Badhrinath Krishnamoorthy
www.cognizant.com
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There are three, documented in the online help:

DSGetLogEntry
DSGetLogSummary
DSGetNewestLogId

They should be what you are looking for.

-craig

ps. If you want to know how the Sequencer stages do what they do, check out the generated code on the 'Job Control' page of a Sequence Job after you compile it. [:)]
Post Reply