hi ,
as Franklin and UCDI suggested, i broke into single statement using stage variables. then i created a new column with conditions.
This works and is much simpler
Thanks to all
Search found 5 matches
- Thu Aug 24, 2017 12:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unexpected results from IF THEN clause
- Replies: 9
- Views: 4175
- Tue Aug 22, 2017 8:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unexpected results from IF THEN clause
- Replies: 9
- Views: 4175
- Tue Aug 22, 2017 4:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unexpected results from IF THEN clause
- Replies: 9
- Views: 4175
- Mon Aug 21, 2017 4:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unexpected results from IF THEN clause
- Replies: 9
- Views: 4175
- Mon Aug 21, 2017 2:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unexpected results from IF THEN clause
- Replies: 9
- Views: 4175
Unexpected results from IF THEN clause
Hello, I am using 11.5 PX. When I try this IF THEN clause in Transformer stage: if columnA <> '' then 'RT' else if columnB <> '' then 'RT' else if columnC <> '' then 'RT' else if columnD <> '' then 'RT' else if columnE <> '' then 'RC' else if columnF <> '' then 'RF' else '' Unfortunately, this alway...