Page 1 of 1

Write datastage log to physical files in unix

Posted: Wed Feb 25, 2015 2:35 pm
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

Posted: Wed Feb 25, 2015 3:02 pm
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>]

Posted: Thu Feb 26, 2015 8:16 am
by PaulVL
Would you by chance have the datastage ops console installed? You could query that.

Posted: Thu Feb 26, 2015 3:51 pm
by ray.wurlod
Probably not in version 8.x.

Posted: Thu Feb 26, 2015 4:58 pm
by qt_ky
Ops Console is a possibility in 8.7 though...

Posted: Thu Feb 26, 2015 7:12 pm
by ray.wurlod
How soon we forget!

Posted: Thu Feb 26, 2015 8:14 pm
by qt_ky
The new releases are coming out too quickly. :wink: