Constraint as a Stage Variable
Posted: Tue Feb 28, 2006 4:11 pm
I have the same constraint for outlink1 and outlink2. Now, I have 2 simple ways of enforcing the constraint-
1. Specify the same in the constraint field of outlink1 and also in outlink2.
2. Or, I could declare a stage variable, svMyConstraint, whose derivation field contains the constraint. And, the stage variable svMyConstraint is specified as the constraint in each output links.
My question is: In the second method, for every row, will the constraint be computed ONLY ONCE for svMyConstraint, and evaluate TRUE/FALSE for the output links?
In simpler terms, will the first method execute 2 times (once for each output link), and the second method execute only once?
Thanks.
gateleys
1. Specify the same in the constraint field of outlink1 and also in outlink2.
2. Or, I could declare a stage variable, svMyConstraint, whose derivation field contains the constraint. And, the stage variable svMyConstraint is specified as the constraint in each output links.
My question is: In the second method, for every row, will the constraint be computed ONLY ONCE for svMyConstraint, and evaluate TRUE/FALSE for the output links?
In simpler terms, will the first method execute 2 times (once for each output link), and the second method execute only once?
Thanks.
gateleys