Boolean expression

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
fmou
Participant
Posts: 124
Joined: Sat May 28, 2011 9:48 pm

Boolean expression

Post by fmou »

Hi,

Another noob question,

In trasnformer, I have such derived variable defined,

Code: Select all

IF IsNotNull(the_field) THEN 'Y' ELSE 'N' -- IsFound
Then the variable IsFound is used as an output constrain, e.g,

Code: Select all

if IsFound = 'Y'
Coming from C/C++ background, I'm wondering if I can just use IsNotNull's Return as-is? then in output constrain, just use "IsFound", without further comparison?

thanks
Post Reply