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.
Accessing DataStage Logs
Moderators: chulett, rschirm, roy
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.
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
Amsterdam
Yah, as noted there are many ways to accomplish this and they've all been discussed here. Ad Nauseum.
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.
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
"You can never have too many knives" -- Logan Nine Fingers