Job Activities in parallel

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
tostay2003
Participant
Posts: 97
Joined: Tue Feb 21, 2006 6:45 am

Job Activities in parallel

Post by tostay2003 »

Hi,

I have a sequence with Job Activities (JA) as follows.

Code: Select all

                        __ JA4___
                       /           \
JA1 -> JA2 -> JA3 -------   JA5 ----- -- JA7
                      \ __ JA6 ___/
I have set the sequence as restartable. This is working fine with the Job Activities in serial, but not with parallel.

i.e. lets say JA2 has failed, then when i rectify the error and run. The job starts from JA2 (skipping JA1).

But in case of job acitivies in parallel i.e. JA4 to JA6. When one gets aborted and I run the sequence again. It skips JA1... JA3, but JA4..JA6 start again irrespective of whether they ran successfully last time. How can I avoid the Job Activities which were successful not to run again (when they are in parallel).
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

For the job activities j4 to j6, check if the property Do not checkpoint job run is not enabled.
Regards,
S. Kirtikumar.
tostay2003
Participant
Posts: 97
Joined: Tue Feb 21, 2006 6:45 am

Post by tostay2003 »

Hi,

No it is not enabled. Does DataStage deal with JobActivities in parallel differently than with JobActivities in Serial

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

Post by chulett »

No. We do something similar in many places and don't have this issue. Out of curiousity, what 7.x version are you running?
-craig

"You can never have too many knives" -- Logan Nine Fingers
tostay2003
Participant
Posts: 97
Joined: Tue Feb 21, 2006 6:45 am

Post by tostay2003 »

I am using 7.5.1 version
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

Some weird suggestion - copy all the stage in a new job and save it. Set the properties again for check pointing. Compile it again and run it now. See if same thing happens.

The suggestion here has come from solution we have had for few problems. Just creating new job or replacing stage with another instace of the same stage sometimes work.

If this does not help, check the logs in director for the last run as to if it contains the logs for check pointed activities.
Regards,
S. Kirtikumar.
Post Reply