EXEPTION HANDLER and CHECKPOINTS on sequences

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
rpezzotti
Participant
Posts: 5
Joined: Sun Aug 14, 2005 7:24 pm
Location: São Paulo - SP (Brazil)

EXEPTION HANDLER and CHECKPOINTS on sequences

Post by rpezzotti »

Hello

I've already searched in this forum and didn't find anything that helped.
I have the following situation here:

Code: Select all

JOB1 ------\
            \
JOB2 --------> SEQUENCER --------> JOB3
            /
JOB3 ------/

      EXEPTION_HANDLER --------> NOTIFICATION_ACTIVITY


I've checked the "Add checkpoint so sequence is restartable" option.
Then I've started this sequence and the Jobs 1, 2 and 3 began to run.
The "Job1" has finished OK and had his run checkpointed.
Then the "Job2" has aborted before the "Job3" finished and, after this, the exeption handler has started and sent me an e-mail
The problem is: the "Job3" was still runing and it finished OK, but did not had his run checkpointed.
When I restart this sequence, that has aborted, the "Job3" has been executed again.

Does anybody can help me?
Thank you
Pezzotti, Renato
rpezzotti@f9ti.com.br
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

It looks like it did what it was supposed to do. You told it not to worry about job3. So it will always rerun it.
Mamu Kim
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: EXEPTION HANDLER and CHECKPOINTS on sequences

Post by chulett »

Besides the fact that you have two "JOB3" stages, the last one needs an OK trigger if you want it to be checkpointed properly

Code: Select all

JOB1 ------\
            \
JOB2 --------> SEQUENCER --------> JOB3 ----> SEQUENCER
            /
JOB3 ------/

      EXEPTION_HANDLER --------> NOTIFICATION_ACTIVITY
-craig

"You can never have too many knives" -- Logan Nine Fingers
rpezzotti
Participant
Posts: 5
Joined: Sun Aug 14, 2005 7:24 pm
Location: São Paulo - SP (Brazil)

Post by rpezzotti »

Sory....

my fault
there are only one JOB3 and its is not checked to "do not checkpoint"

Code: Select all

JOB1 ------\ 
            \
JOB2 --------> SEQUENCER --------> JOB4
            /
JOB3 ------/

      EXEPTION_HANDLER --------> NOTIFICATION_ACTIVITY


tks
Pezzotti, Renato
rpezzotti@f9ti.com.br
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ok... Can you restate your problem, please? What does or doesn't happen or what is it that you are trying to accomplish that isn't quite working out.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rpezzotti
Participant
Posts: 5
Joined: Sun Aug 14, 2005 7:24 pm
Location: São Paulo - SP (Brazil)

Post by rpezzotti »

chulett wrote:Ok... Can you restate your problem, please? What does or doesn't happen or what is it that you are trying to accomplish that isn't quite working out.



Into the diagram I've sent, you can see 3 jobs that starts simultaneous.
The JOB1 and the JOB3 has finishied both OK, but before the JOB3 has finished, the JOB2 has aborted.

This sequence is restartable. Then i just restarted it.

The JOB1 was skipped corectly, but, i don't know why, the JOB3 was not skipped.

This is my problem: Why the JOB3 was not checkpointed if it did finish OK?
The right action was rerun only the JOB2 ?

tks
Pezzotti, Renato
rpezzotti@f9ti.com.br
Post Reply