Wow thanks for the fast response.
But what is if the data comes like:
Group-ID --- Error
B ------------- 1
B ------------- 1
B ------------- 1
Using the if clause you mentioned would return: 1,0,1 wouldn't it?
Thank you very much!
Search found 2 matches
- Mon Apr 30, 2018 6:24 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Transformer logic: How to mark a record within a group once?
- Replies: 3
- Views: 2147
- Mon Apr 30, 2018 2:31 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Transformer logic: How to mark a record within a group once?
- Replies: 3
- Views: 2147
Transformer logic: How to mark a record within a group once?
Hi folks, I might have a simple question regarding transformer logic. My challenge is to determine if an error within a group occured once. If the first data in a group represents an error (marked as 1) for the first time, then the counter (AmountOfWrongGroup) should be set to 1 for the record. But ...