Issue with calling routine in sequencer

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
udayk_2007
Participant
Posts: 72
Joined: Wed Dec 12, 2007 2:29 am

Issue with calling routine in sequencer

Post by udayk_2007 »

Hi Friends

I am facing a issue with a sequencer. Sequencer design is as below

Routine Activity---> Job

Many a times the sequencer is making checkpointed run to routine. In this case it is not returning value to job and job is running with default parameter.

RC_SEQ_J_G4211..JobControl (@Routine_MapVar_Lookup): Checkpointed call of routine 'DSU.GetLastUpdDateTime'

I am not understanding why it is making checkpointed call to routine.

Also on very few occasion the sequencer is running correctly with the routine returning value

Appreciate your help
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Check the "do not checkpoint run" property in the Routine activity to prevent it from being checkpointed (to force the routine to be run every time the sequence runs).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
udayk_2007
Participant
Posts: 72
Joined: Wed Dec 12, 2007 2:29 am

Post by udayk_2007 »

Thanks Ray. I will check

The point of confusion to me is why it is making checkpointed call on most occasions and a normal call at few times.

There is no abort in the sequencer in any case

Thanks for your help
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What options do you have enabled in the Sequence job? Does the routine return something other than a zero for success or a non-zero value for failure?
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If that's literally all you have in the Sequence and you disable checkpoints for the routine then there's absolutely no reason to have them enabled at all.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply