Write datastage log to physical files in unix

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
harikhk
Participant
Posts: 64
Joined: Tue Jun 04, 2013 11:36 am

Write datastage log to physical files in unix

Post by harikhk »

Hi,

I am executing datastage job by command line commands from Unix script.
I am writing the datastage logs to the Unix physical file by using the command logsum.
The issue is when the error or information is longer, I just see a few dots like
JobControl (fatal error from DSAttachJob): Job control fatal error (-12) (...)

If I use logdetail I am able to see the content of ... but the log is very huge to read and also has the log of the previous runs.

Please suggest me how can I have a log which has the complete information without dots
Thanks,
HK
*Go GREEN..Save Earth*
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Try using the first and last event ID options to limit the detailed entries to only the range of event numbers that you want to capture.

Code: Select all

dsjob -logdetail [-useid] <project> <job|jobid> <first event id> [<last event id>]
Choose a job you love, and you will never have to work a day in your life. - Confucius
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Would you by chance have the datastage ops console installed? You could query that.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Probably not in version 8.x.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Ops Console is a possibility in 8.7 though...
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

How soon we forget!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

The new releases are coming out too quickly. :wink:
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply