Originally posted by: johnxp
Hi anyone can help?
I want to do some conversion based on line number, 1st line(header), get 10 chars, last line(footer), get 30 chars, the rest(detail), get 120 chars.
My function is like:
=F_ModifyData(Data Field:Input, INDEX(Data Field:Input), COUNT(Data Field:Input))
my rule in the function:
=IF (In2 = 1, MID(In1, 1, 10), IF (In2 = In3, MID(In1, 1, 30), MID(In1, 1, 120)))
However, I always get 30 for the last line.
Appreciate your help.
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender