Page 1 of 1

Constraint in transformer

Posted: Mon Nov 08, 2010 1:47 am
by monaz
hi,

Can any one guide me what does below logic means it was present in one of the job ,

The logic is in transformer constriant specially what does =1 means here

(DayssinceFromDate(EndDatetime, CurrentTime())<765 and Description<>' ')=1

Please let me know your comments on this.

Thanks

Posted: Mon Nov 08, 2010 2:42 am
by nitkuar
equals to 1 here means that conditions(both) specified with the braces should be true.
Even if you remove '= 1' here, it should give same result.

Posted: Mon Nov 08, 2010 3:51 am
by ArndW
Conditions get evaluated to "True" and "False", these are equivalent to "1" and "0" in DataStage, respectively.