EventId from the log

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
phanee_k
Charter Member
Charter Member
Posts: 68
Joined: Thu Nov 20, 2003 11:02 pm

EventId from the log

Post by phanee_k »

Hi,
How to get the first event id that is getting generated for a particular job.
The last event we can capture using the DSGetNewestLogId.
Is there any way to capture the first eventid generated.

Thanks,
Phani
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
You can try the log info routines to get there.
Perhaps you might achieve the same with a job report combind with some head command.

what do you need it for?
simply seeing it would be easy by filering the director log view.
getting it for some other use would require as I said some programing work on your part will be required.

Use the search for the DSGetLogEntry,DSGetLogSummary,DSGetNewestLogId, routines or look them up in your documentation.

Depending on what you need you might also have luck using the dsjob command line interface with one or some of the -log , -logsum , -logdetail ,-lognewest and -report options.

This was covered extensivly in the server forum as well.

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DSGetNewestId has options for filtering by event type (severity) and timestamp.
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