Page 1 of 1

Error message from a job

Posted: Sat Dec 17, 2011 2:21 am
by vskr72
I am trying to use 'dsjob -report' option to capture statistcs like Start and End times. Isit possible to capture information like an 'Error; messaeg that Datastage throws in the log file. Is there any way to get it other than reading the Datastage log file? Thank you

Posted: Sat Dec 17, 2011 8:33 am
by chulett
Error messages in the log can only be retrieved from the log itself.

Posted: Sat Dec 17, 2011 9:38 pm
by pandeesh
i am curious, whether the -type argument accepts multiple arguments like "FATAL" "WARNINGS".

For eXample, if we want to filter out both fatal and warnings, can we use like that?

I don't have DS to test now.
Can anyone confirm this?

Thanks

Posted: Sun Dec 18, 2011 9:02 am
by zulfi123786
I believe it's documented in the parellel job advanced developer guide

Posted: Sun Dec 18, 2011 9:16 am
by chulett
I found it in the Server guide and it says:

"EventType is the type of event logged and is one of:"

And then it lists all of the types. If you want multiple types, it seems to me you'd need to do so one at a time or use the "any" option and filter out the types you want.

Posted: Sun Dec 18, 2011 8:43 pm
by pandeesh
Thanks Craig!