How to find the logs pertaining to the current run?

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
dsdoubt
Participant
Posts: 106
Joined: Sat Jul 15, 2006 12:17 am

How to find the logs pertaining to the current run?

Post by dsdoubt »

Hi,

Using dsjob command, how to find the logs pertaining to the current run alone.
When I use

Code: Select all

dsjob -lognewest ProejctName Jobname FATAL
it gives the latest available fatal message irrespective of runs. So Iam also getting message from previous runs.
So, how to check the events only for the current run?

Thanks in Advance.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Find the most recent "job starting" message and check the timestamps of this and the most recent "fatal" message.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dsdoubt
Participant
Posts: 106
Joined: Sat Jul 15, 2006 12:17 am

Post by dsdoubt »

Thanks for the input. But how to find that?
What is the exact command you referring to?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Even minimal research on your part would have discovered it.
:roll:

Code: Select all

dsjob -lognewest ProejctName Jobname STARTED
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply