Restart Sequencer from unix command prompt.

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
ramnishgupta
Participant
Posts: 13
Joined: Tue Nov 08, 2005 9:43 am

Restart Sequencer from unix command prompt.

Post by ramnishgupta »

I have a sequencer which runs 3 jobs

Seq A-

Job1--OK-->Job2--OK-->job3

On the sequencer properties i have checked both options Add Checkpoints and Automatically handle activities that fail

Now when job 2 aborts the sequencer goes into a status of Abort/Restartable. When i rerun the sequencer using Director the sequencer starts from the checkpoint Job 2 which is correct.

However i am running the sequencer from the command prompt using

dsjob -run -mode NORMAL -wait -jobstatus <<Project>> <<Job Name>>

When i run it using the above command it does not restart from the last checkpoint of Job 2 but starts from Job 1

What is the command i need to run from the command prompt for the sequencer to start form the last checkpoint.

Thanks
Post Reply