Job Logs

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
bobthebuilder
Participant
Posts: 17
Joined: Mon Aug 15, 2005 3:13 pm

Job Logs

Post by bobthebuilder »

All,

Is there any way the individual job logs created for every job be sent a named file on some server.

-- Bob
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes.

But it's a DIY (do it yourself) solution. You need to extract events from the log tables and direct them to the file(s) in question.

An ideal mechanism would be a DataStage job! :D
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post by elavenil »

Hi,

Search for DSGetLogEntry & DSGetLogSummary routines in DS help and Log of a job can be obtained using these functions.

HTWH.

Regards
Saravanan
chinek
Participant
Posts: 75
Joined: Mon Apr 15, 2002 10:09 pm
Location: Australia

Post by chinek »

We use dsjob and a unix script to parse the log files. Using something like an awk script or others will allow you to create delimeted files which can be loaded into the database. Lke Ray said it's all DIY.

Nick
trokosz
Premium Member
Premium Member
Posts: 188
Joined: Thu Sep 16, 2004 6:38 pm
Contact:

Post by trokosz »

As Ray indicated its a do it yourself or extract the log and send to a flat file that can be FTP'd or emailed.....Just a point that if your into using invocation ids ten its tricky to have them appear in the extracted log....search for the custom solution.....
Post Reply