It works!! Thanks all for your timely help!!!
Now I have another issue
![Sad :(](./images/smilies/icon_sad.gif)
I have a file containing different row types. Each row type has different number of columns of fixed length.
Eg:
Header
AAA field1(4) field2(11) field3(6) field4(7) field5(14)
BBB field1(9) field2(1) field3(16) field4(6) field5(4) field6(10) field7(11) field8(6) field9(2) field10(14)
CCC field1(7) field2(23)
-----------------
-------------
Footer
I need to import this entire file and filter each row type to specific destination.
I first imported the entire row as one single field and then used different transformers to send it to different targets. I used string functions in each transformer depending on the target to get that row type separately. But this becomes very complex when there are hundreds of fields in a row type.
Is there any better way to do this??
Regards,
Divya