JOB Log info recording into tables

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

JOB Log info recording into tables

Post by rasi »

Hi all,

I want to insert the log entries like how many rows processed, status, time taken into database table while running the job. Which is the best way to get those information.

Thanks
Rasi
sankar18
Participant
Posts: 34
Joined: Mon Dec 16, 2002 1:18 am

Post by sankar18 »

Hi,

you can do it, In Director, Monitor is there, choose save option the value will be stored, you should run another job, watch the file, from the you take the information, update the information into file.

with regards,
T Sankar



Edited by - sankar18 on 01/10/2003 08:16:26
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DSGetLinkInfo() returns the number of rows processed along a link.
Date() and Time() functions return the date and time.
Alternately, message in the log file that report the completion of an active stage include the number of rows processed on each link connected to that active stage. DSGetLogEvent() can retrieve this information.
You can create an after-stage routine to report these where you will.

Edited by - ray.wurlod on 01/10/2003 13:56:31
Post Reply