Page 1 of 1

Checkpoint Restart Capability

Posted: Tue Oct 18, 2005 7:53 pm
by Rangs
Guys

Many of our jobs were originally written in DataStage 5.2. Now we have moved to DataStage 7.1r2.

Whenever a Job sequencer fails, we have to go through the tedious process of running the remaining jobs manually or have written a script which reads from a file as to what remaining jobs to run.

In 7.2, we want to get away from that by using the check point restart. Can you please advise
1. How to implement it

Please include details more than just the check box tick. I mean whether DS will automatically handle if we simply rerun the Job etc.

Regards
Rangs

Posted: Tue Oct 18, 2005 8:36 pm
by chulett
There's not a whole lot more to it than checking the box. It's explained in the Designer's Guide pdf manual installed with your client.

In the chapter on 'Job Sequences', checkpoint restarts are documented in the General Page portion of the Job Sequence Properties section as well as in the Restarting Job Sequences section.

Re: Checkpoint Restart Capability

Posted: Tue Oct 18, 2005 10:17 pm
by kumar_s
Rangs wrote:Guys

Many of our jobs were originally written in DataStage 5.2. Now we have moved to DataStage 7.1r2.

Whenever a Job sequencer fails, we have to go through the tedious process of running the remaining jobs manually or have written a script which reads from a file as to what remaining jobs to run.

In 7.2, we want to get away from that by using the check point restart. Can you please advise
1. How to implement it

Please include details more than just the check box tick. I mean whether DS will automatically handle if we simply rerun the Job etc.

Regards
Rangs

Was it that tedious in release 5.2 :x Thanks god we are in latest release :lol:

regards
kumar

Posted: Tue Oct 18, 2005 10:52 pm
by vmcburney
It is as simple as checking the check box!

The main considerations - you need to make sure you restart with the same job parameters as the failed sequence. You need to consider whether you should should be restarting jobs that update aggregate database tables or perform database inserts. Your support staff need to be aware that a Stopped/Restartable sequence job can be restarted from the checkpoint by running it or restarted from the beginning by resetting and running it.

Other then that it works and it works well.

Posted: Tue Oct 18, 2005 11:10 pm
by vmcburney
Any reason why you are upgrading to 7.1 and not the newer 7.5.1?

Posted: Tue Oct 18, 2005 11:13 pm
by ray.wurlod
Shelfware?

Posted: Tue Oct 18, 2005 11:39 pm
by cfuller
You may need to be a little careful...one thing I have noted is that the Checkpoint Restart information must be held within the jobs information in Universe, and if for some reason you need to re-build the job you can lose that restart capability (depending on were the error was). :shock:

Another solution may be to create your own home grown checkpointing outside datastage, by creating flag files as jobs start and complet successfully. There is a little bit of pain in doing this, but if your confronted with an error in one of you primary sequence jobs that was missing something, and had to be changed (promoted), you do not lose your restartability....

IMHO
:wink:

Posted: Wed Oct 19, 2005 12:38 am
by vmcburney
I think that's an argument for doing testing and training rather then for writing your own restart checkpointing. :)

Checkpoint can very easily be cleared out, if someone resets the sequence job or recompiles the sequence job. Perhaps the drawback of sequence job restart is that you cannot manually set a check point to a particular part of the sequence like you could with an external check point system.

Posted: Wed Oct 19, 2005 5:51 am
by cfuller
I actually wrote the code, with a lot of help from someone else, in version 6, and have implemented it at 2 different sites I've worked at very successfully. Checkpoint restart was not available in V6, and when you are running a job stream containing over 1500 jobs, you don't want to have to run the last 800 manually at 2am in the morning if you have a problem...if you know what I mean.

:lol:

Posted: Wed Oct 19, 2005 5:04 pm
by ray.wurlod
Depends. They paying overtime? They paying by the hour? :lol:

Posted: Wed Oct 19, 2005 5:13 pm
by cfuller
At that time....'Employee'...no overtime 'it's part of your job' :cry:

Not there anymore. :wink: