Transformer Stage Doubt

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
dgokulakrishnan
Participant
Posts: 14
Joined: Wed May 01, 2013 1:06 pm

Transformer Stage Doubt

Post by dgokulakrishnan »

Is it possible to use IF Statements and Functions in Constraints (Transformer Stage) ? or we need to incorporate such functionality with the help of Derivation/ Stage Variables?
Thanks & Regards,

Gokula Krishnan
kiran259
Participant
Posts: 48
Joined: Thu Aug 16, 2007 11:17 pm
Location: United States
Contact:

Re: Transformer Stage Doubt

Post by kiran259 »

Possible
Kiran Vaduguri

As soon as the fear approaches near, attack and destroy it.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can do anything in any expression (stage variable initialization, loop variable initialization, constraint, loop variable derivation, stage variable derivation, output column derivation) that the expression editor allows. You will note that If..Then..Else is one of the options on the operand menu of the expression editor.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply