Restart from the aborted job in a sequence

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
qwerty
Participant
Posts: 3
Joined: Mon Dec 01, 2003 4:39 pm

Restart from the aborted job in a sequence

Post by qwerty »

We have couple of seqences. First sequence kicks off the second one, which has 10 jobs. If 7th job aborted in the second sequence, the execution should start from 7th job for the next run. Please post your suggestions or code.

Thanks,
Peytot
Participant
Posts: 145
Joined: Wed Jun 04, 2003 7:56 am
Location: France

Post by Peytot »

If you would keep all the sequencer into DataStage, you might create a little sequencer where each first Job is a restart Job. Other your own solution is to create a temporary sequencer where you delete all the job already executed with success.

It's sure that you can create in basic your own scheduler (like before the version 5) but I don't think that now, it's the good solution especially for the evolution and maintenance)

Other, use an external scheduler like Tivoli.

Pey
qwerty
Participant
Posts: 3
Joined: Mon Dec 01, 2003 4:39 pm

Post by qwerty »

Peytot wrote:If you would keep all the sequencer into DataStage, you might create a little sequencer where each first Job is a restart Job. Other your own solution is to create a temporary sequencer where you delete all the job already executed with success.

It's sure that you can create in basic your own scheduler (like before the version 5) but I don't think that now, it's the good solution especially for the evolution and maintenance)

Other, use an external scheduler like Tivoli.

Pey
Thanks for your suggestion. I will try Batch to accomplish this. What do you say?
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Search the forum for "restart job sequence" and read this discussion history.

Try this thread:

viewtopic.php?t=85842&highlight=restart

Read this thread for alternative discussions to using the Sequencer:

viewtopic.php?t=85210
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Peytot
Participant
Posts: 145
Joined: Wed Jun 04, 2003 7:56 am
Location: France

Post by Peytot »

That can be a solution :
- Master Job or Routine which call a file. In this file, you have the list of your order.
- Shell script which replace your master Job,

You have a lot of possibilities. But before developping your solution, thinks to your team support, try to do : Keep it simply.

Pey :wink:
Post Reply