Starting the JOB SEQUENCE from where it has failed

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
rkumar28
Participant
Posts: 43
Joined: Tue Mar 30, 2004 9:39 am

Starting the JOB SEQUENCE from where it has failed

Post by rkumar28 »

Hi,
I am doing a load from flat file to Teradata Database. I am generating a surrogate key from the DataStage which is a Primary Key in the Table.
I have created 2 jobs in the Job Sequence that runs one after the other and the trigger is OK...Conditional. It is the last Job in the job sequence, that does the real loading into the Database. I schedule my job for nightly load.

Is there a way to automatically restart my last job in the Job sequence if it FAILS and start from where it has failed.

Thanks for your time and help
Raj
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

Raj,

On a Job Sequencer job, view the Job Properties. Check the checkbox that says "Add checkpoints so sequence is restartable on failure" and you should be able to restart the job at the point at which it failed.

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

Post by chulett »

7.1 only! :shock:

Otherwise you get to roll your own checkpoints.
-craig

"You can never have too many knives" -- Logan Nine Fingers
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

Oops! True.

Tony
Post Reply