Page 1 of 1

parse log

Posted: Wed Nov 03, 2010 11:44 am
by raji33
Hi All,

I need to get all job information and load to the table can any one tel me how to parse the datastage log/DB.

Thanks in advance

Posted: Wed Nov 03, 2010 11:55 am
by anbu
check

Code: Select all

dsjob -logsum

Posted: Wed Nov 03, 2010 12:06 pm
by raji33
Hi Anbu
This we need to give on unix or in the before/after subroutine?

Posted: Wed Nov 03, 2010 12:12 pm
by anbu
From Unix

Posted: Wed Nov 03, 2010 12:17 pm
by raji33
Hi anbu
but how do do you fetch that in formation into a file

Posted: Wed Nov 03, 2010 12:24 pm
by anbu
When you run the dsjob command from Unix, it will fetch you the info about the job. Just redirect output of the command to a file.

Check manual for complete syntax

Code: Select all

dsjob ... > file

Posted: Wed Nov 03, 2010 12:52 pm
by raji33
Thanks Anbu i will try that