job activities in a sequence being invoked AFTER DELAY

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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That makes no sense. Are you sure there's nothing else between the two or a before/after routine that is skewing the results?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Can you cut and paste the sequence log.

Even if your PH is almost full, waiting for hours is bit too much.

Include a dummy echo statement between J1 and J2 to see when it is triggered. It will give you an indication of which activity is taking time.

I guess either J1 has some post-job script or J2 uses database extract - which takes significant time.

Or it is possible that there are some other events between J1 and J2 which is not recorded in the log.
sureshdsx1001
Participant
Posts: 11
Joined: Fri Sep 21, 2007 2:23 am

Post by sureshdsx1001 »

Sainath.Srinivasan wrote:Can you cut and paste the sequence log.

Even if your PH is almost full, waiting for hours is bit too much.

Include a dummy echo statement between J1 and J2 to see when it is triggered. It will ...

Dear All....

The snaphshot of director log looks like below-
7/14/2009 8:11:35 AM seq_Extract_dsd_CBJ -> (jb_Extract_dsd01_CBJ.TN): Job run requested
7/14/2009 8:11:35 AM seq_Extract_dsd_CBJ.DSD_CBJ.JobControl (DSRunJob): Waiting for job jb_Extract_dsd01_CBJ.TN to start
7/14/2009 8:11:38 AM seq_Extract_dsd_CBJ.DSD_CBJ.JobControl (DSWaitForJob): Waiting for job jb_Extract_dsd01_CBJ.TN to finish
7/14/2009 8:12:26 AM seq_Extract_dsd_CBJ.DSD_CBJ.JobControl (DSWaitForJob): Job jb_Extract_dsd01_CBJ.TN has finished, status = 2 (Finished with warnings)
7/14/2009 10:40:10 AM seq_Extract_dsd_CBJ -> (jb_GetLOV_dsd.TN): Job run requested
7/14/2009 10:40:10 AM seq_Extract_dsd_CBJ.DSD_CBJ.JobControl (DSRunJob): Waiting for job jb_GetLOV_dsd.TN to start
7/14/2009 10:40:12 AM seq_Extract_dsd_CBJ.DSD_CBJ.JobControl (DSWaitForJob): Waiting for job jb_GetLOV_dsd.TN to finish



Please see the time difference between invocations [7/14/2009 8:12:26 AM and 7/14/2009 10:40:10 AM] between 2 jobs.

Also I have observed that there are huge Director logs which has not been purged for long time, will this be an potential issue leading to this delay of invocation.

Your response is appreciated

Regards,
Suresh
Suresh G Sampat
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, definitely. The job may technically finish but could be writing records to their logs for all that time. Simple enough to check - purge them and let us know.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sureshdsx1001
Participant
Posts: 11
Joined: Fri Sep 21, 2007 2:23 am

Post by sureshdsx1001 »

chulett wrote:Yes, definitely. The job may technically finish but could be writing records to their logs for all that time. Simple enough to check - purge them and let us know. ...
Thanks, will do the purging and keep you guys informed
However can you please provide some information on how DataStage upon completion , writes into DS - logs. Is there any process with DS Engine which does this activity

Regards,
Suresh
Suresh G Sampat
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No process. The millions of warnings returned from the database or operator are simply queued to be written to the log file. That buffering is largely under the control of the operating system. Sure there will be a DataStage process involved, but it will mainly be waiting for the buffered writes to complete.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sureshdsx1001
Participant
Posts: 11
Joined: Fri Sep 21, 2007 2:23 am

Post by sureshdsx1001 »

Hi Guys

Thanks

After clearing huge DataStage logs, main sequence finished execution quicker on time


Regards,
Suresh
Suresh G Sampat
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Time to mark this as Resolved using the button at the top of the screen!
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply