regarding Start_time and End_time of Job

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
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

regarding Start_time and End_time of Job

Post by deesh »

Hi Friends,
I have one problem in work, please can help to me in solution.

i have 3 TABLEs, i am storing data from 1st table to 2nd table. in the job. here i need start_time and End_time of job which is picking data from TABLE1 and putting data in to TABLE2

These Start_time and End_time i need to maintain in TABLE3.
John Smith
Charter Member
Charter Member
Posts: 193
Joined: Tue Sep 05, 2006 8:01 pm
Location: Australia

Post by John Smith »

you'll prob need a sequencer to get the start and end time of the job cos the end time of a job is only known after job has finished.
try doing a search on etlstats.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can also pick them up using DataStage macros (such as DSJobStartTimestamp) or equivalent DataStage API functions (such as DSGetJobInfo() function), both of which are available in expressions in job sequences.
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