Exporting Project level Director log

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
Saad
Participant
Posts: 16
Joined: Fri Nov 04, 2005 11:50 pm
Location: Islamabad

Exporting Project level Director log

Post by Saad »

Hi All,

I was interested to know if we can export log against all the jobs under a single project. I can manually save logs against individual jobs, just that it's not practical to export log of hundreds of jobs that way.

Regards,

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

Post by kcbland »

Every job has its own log file, no matter what a loop thru a list of jobs is required to output all of the logs. Plus, you may only wish a limit on the output from the log. The best idea is to integrate with your job control processes an extraction of interesting log information at runtime followed by a prompt autopurge.
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
Saad
Participant
Posts: 16
Joined: Fri Nov 04, 2005 11:50 pm
Location: Islamabad

Post by Saad »

I can understand limiting the information out of log file, and to store only information which is more relevant (rows processed/rejected) but this requires a complete framework of storing metadata inside database alongside data itself.

My intention of asking this question was that what if metadata process hasn't been implemented and someone wanted to compare log against multiple days (but most logs are purged on some criteria). So this is only possible by storing the log file information in a separate text file and then referring to it when comparison is required.

Anyhow thank you for your response, I think I'll have to build a job to do the required task :idea:

Saad
sbass1
Premium Member
Premium Member
Posts: 211
Joined: Wed Jan 28, 2009 9:00 pm
Location: Sydney, Australia

Post by sbass1 »

Saad wrote:Anyhow thank you for your response, I think I'll have to build a job to do the required task :idea:
Check out http://www.duke-consulting.com/DataStage_Tips.htm and http://www.duke-consulting.com/Download ... 060704.zip. Even if you want to customize the code, this would be a good starting point.
Some people are the Michael Jordan's of Datastage. I'm more like Muggsy Bogues :-)
sbass1
Premium Member
Premium Member
Posts: 211
Joined: Wed Jan 28, 2009 9:00 pm
Location: Sydney, Australia

Post by sbass1 »

Saad wrote:Anyhow thank you for your response, I think I'll have to build a job to do the required task :idea:
Check out http://www.duke-consulting.com/DataStage_Tips.htm and http://www.duke-consulting.com/Download ... 060704.zip. Even if you want to customize the code, this would be a good starting point.
Some people are the Michael Jordan's of Datastage. I'm more like Muggsy Bogues :-)
Saad
Participant
Posts: 16
Joined: Fri Nov 04, 2005 11:50 pm
Location: Islamabad

Post by Saad »

Thanks for sharing this link
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

I do not have anything to export the whole log file of every job. There are several jobs which deal with read and extracting information from the log file.
Mamu Kim
Post Reply