Issue with Logs using dsjob

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
srds2
Premium Member
Premium Member
Posts: 66
Joined: Tue Nov 29, 2011 6:56 pm

Issue with Logs using dsjob

Post by srds2 »

Hello,

I am trying to log the details of logs of every run to a file
I am using lognewest to record the newest eventid before job run and also after job run.
Now, I want to use -logsum option which doesn't have the "entry" as an argument like -logdetail have.
(I am using -logsum option because, I am giving -type option as a parameter and we do not have -type option in -logdetail)

Can someone please let me know,
1) If its possible to get -logsum with eventid's (or)
2)-logdetail with -type option(so that i can log only WARNINGS and FATAL errors)

Thanks.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

I think you would have to:

1. Use -logsum -type WARNING to list those event IDs
2. Use -logdetail on above event IDs

Repeat for -type FATAL.
Choose a job you love, and you will never have to work a day in your life. - Confucius
srds2
Premium Member
Premium Member
Posts: 66
Joined: Tue Nov 29, 2011 6:56 pm

Post by srds2 »

Thank you so much for the reply..Figured it out
Post Reply