Error message from a job

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
vskr72
Premium Member
Premium Member
Posts: 128
Joined: Wed Apr 28, 2004 9:36 pm

Error message from a job

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Error messages in the log can only be retrieved from the log itself.
-craig

"You can never have too many knives" -- Logan Nine Fingers
pandeesh
Premium Member
Premium Member
Posts: 1399
Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU

Post 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
Last edited by pandeesh on Sun Dec 18, 2011 8:43 pm, edited 1 time in total.
pandeeswaran
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

I believe it's documented in the parellel job advanced developer guide
- Zulfi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
pandeesh
Premium Member
Premium Member
Posts: 1399
Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU

Post by pandeesh »

Thanks Craig!
pandeeswaran
Post Reply