Originally posted by: mikedb
I am trying to create a mapping rule for a 1-byte binary integer. There are 8 conditions that I need to test for each of the 8 bits in the byte. If I create a rule for each of the conditions:
IF(XYZ_1 Field:In1 = "1", SETON(0,1)) + IF(XYZ_2 Field:In1 = "1", SETON(0,2)) + IF(XYZ_3 Field:In1 = "1", SETON(0,3)) .....
The output was only for the first SETON() function. I get a HEX '80'. How am I able to set each of the 8 bits in one rule?
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender