Checkpoint Restart Capability

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
Rangs
Charter Member
Charter Member
Posts: 6
Joined: Mon Mar 28, 2005 6:29 pm

Checkpoint Restart Capability

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

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Re: Checkpoint Restart Capability

Post 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
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post 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.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

Any reason why you are upgrading to 7.1 and not the newer 7.5.1?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Shelfware?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post 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:
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post 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.
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post 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:
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Depends. They paying overtime? They paying by the hour? :lol:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
cfuller
Premium Member
Premium Member
Posts: 70
Joined: Mon Mar 24, 2003 10:08 pm
Location: Australia

Post by cfuller »

At that time....'Employee'...no overtime 'it's part of your job' :cry:

Not there anymore. :wink:
Regards
Chris Fuller

"Reality is what refuses to go away when you stop believing in it"
Post Reply