Page 1 of 1

constrains,derivations,stage variables which one is executes

Posted: Mon Jun 18, 2007 12:35 am
by seshikumar
hi guys,
i am new to datastage may i know which one is executes first
constrains
derivations
stage variables execution order

Posted: Mon Jun 18, 2007 12:51 am
by vmcburney
Stage variables first followed by derivations followed by constraints.

Posted: Mon Jun 18, 2007 1:05 am
by ray.wurlod
You might find this information enlightening. The same question was asked all those years ago.

Re: constrains,derivations,stage variables which one is exec

Posted: Mon Jun 18, 2007 2:19 am
by sachin1
hello,
the stage variable declaration in stage properties,then definition and then constraints.

just like in any language.

declaration,definition and usage of the variable.

Posted: Mon Jun 18, 2007 6:16 am
by chulett
vmcburney wrote:Stage variables first followed by derivations followed by constraints.
sachin1 wrote:the stage variable declaration in stage properties,then definition and then constraints.
Actually, a big 'nope' to both of you. :wink:

As answered all those many moons ago, for those three objects it goes: stage variables, constraints then derivations. It don't bother to derivate constrained rows. 8)

The Full Wurlod is in the linked post.

Posted: Mon Jun 18, 2007 2:36 pm
by ray.wurlod
Derivate?!!
:shock:

Posted: Mon Jun 18, 2007 3:35 pm
by chulett
Yes, some of us just make up words as the spirit moves us. :D

Posted: Mon Jun 18, 2007 7:13 pm
by ray.wurlod
We haven't had that spirit here since nineteen sixty nine.

And still those voices keep calling from far away: wake you up in the middle of the night just to hear them say...

Posted: Mon Jun 18, 2007 8:57 pm
by vmcburney
Sheesh was I wrong. Of course you wouldn't derive an output row until you had worked out what output links that row is on. Thanks Craig.

Wurn Snell of Colitas...

Posted: Tue Jun 19, 2007 12:08 pm
by jgreve
Worth a read for the tale of Mr. Wurn Snell http://www.straightdope.com/classics/a5_001.html
ray.wurlod wrote:We haven't had that spirit here since nineteen sixty nine.

And still those voices keep calling from far away: wake you up in the middle of the night just to hear them say...