Originally posted by: Kepa_Screen
Hello.
I had to process a file, with different kind of lines inside it.
I attach data file.
These different lines begin with different header:
00.00 its used like "head" line
99.00 its used for "foot" line
And the other ones are
51.10 xxxxxx
51.20 yyyyyy
51.30 zzzzzz
I only have to treat 51.20 and 51.30 lines, i mean, output for other record types may be the same as input, without doing anything to those lines.
When a 51.20 record arrives, the output for that line would be different than input one, only one item at the line would change ( calling to a dblookup function ). The same with 51.30 records ( other item must be calculated for the output depending on another item in the input, calculated via dblookup function).
I would like to use the "Choice" type, at the type tree construction, in order to expecify that one line could be of different types, and make a call to a functional map, which would calculte the items to change if the record is type 50.20, or 50.30, and to put output=input in the other cases....but don't know how to use, it. ( choose function, i mean ).
Could anybody help ? Thanks a lot in advance.
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender