how to send datastage director log details to database

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
reddyamarnath
Participant
Posts: 8
Joined: Thu Jun 17, 2010 1:12 am

how to send datastage director log details to database

Post by reddyamarnath »

Hi All,

Is there any possibility that to send datastage director log details to database.If so how can i send the log details to database.currently iam using 8.1px and SQLserver is my database.
reddy,amarnath
srinivas.g
Participant
Posts: 251
Joined: Mon Jun 09, 2008 5:52 am

Post by srinivas.g »

Use the below command to load the log detail in to file.From file use datastage job load the log detail in to database.

dsjob -logdetail PROJECT name JObname > filename.txt
Srinu Gadipudi
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Do you want selected logs or all of them ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

In other words you need to build a process to extract the log information you need and then load it to your target of choice. If you search here for ETLStats you'll find a free framework to do just that written by our friend Kim Duke, you can use or extend that.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

If you are planning to move all logs to tables, you can reset the installation method to write logs to tables.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ah... if you just mean you want to store them in the XMETA repository rather than the 'old Universe RT_xxx tables, then yes that's a setting. Search here for RTLooging or ORLogging for the details.
-craig

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