Accessing DataStage Logs

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Accessing DataStage Logs

Post by ag_ram »

Hi All,

We are having a requirement to extract the logs which DataStage generates in the Director.

Our architecture design comples us to send the log for the job (in case of failure) as a payload to some generic logging service which inturn would log these details.

Our concern here is how can we access the DataStage logs from the job, extract it and then send it to the generic logging service.

Any inputs on the above would be really helpful.
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

Hi Ram,

there a several ways to do it:

one is to write a job, which writes the (whole) log or selected entries into a file/table.

You can use "dsjob" (see manual) on the dataStage-Server-Machine, which can be called by a unix-shell-script or (on Windows-Servers) a Batch-Script.
Wolfgang Hürter
Amsterdam
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yah, as noted there are many ways to accomplish this and they've all been discussed here. Ad Nauseum. :wink:

Searching the forums for things like ETLStats, any of the 'DSGetLog' functions or 'dsjob' will turn them up. Then you need to decide on your preferred methodology - via DataStage jobs and/or custom routines or a scripted approach outside of the DataStage GUI.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply