constrains,derivations,stage variables which one is executes

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
seshikumar
Participant
Posts: 44
Joined: Fri Mar 16, 2007 5:51 am

constrains,derivations,stage variables which one is executes

Post by seshikumar »

hi guys,
i am new to datastage may i know which one is executes first
constrains
derivations
stage variables execution order
seshu
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

Stage variables first followed by derivations followed by constraints.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You might find this information enlightening. The same question was asked all those years ago.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

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

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Derivate?!!
:shock:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, some of us just make up words as the spirit moves us. :D
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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...
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post 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.
jgreve
Premium Member
Premium Member
Posts: 107
Joined: Mon Sep 25, 2006 4:25 pm

Wurn Snell of Colitas...

Post 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...
Post Reply