Originally posted by: SystemAdmin
Hi everyone,
I need help in understanding how can I parse unordered text file using WTX. The text file is something like this
---START OF FILE----
Account Number : XXXX
Page 1
something something
<blank line>
<blank line>
....<unknown number of lines with blanks or non-blanks>
Date Particulars Amt
12-Jan-2010 Transfer 12345.00
12-Jan-2010 Transfer 12345.00
12-Jan-2010 Transfer 12345.00
.... <unknown number of records>
Account Number : XXXX
Page 2
something something
<blank spaces>
<blank spaces>
....<unknown number of records>
Date Particulars Amt
12-Jan-2010 Transfer 12345.00
12-Jan-2010 Transfer 12345.00
12-Jan-2010 Transfer 12345.00
.... <unknown number of records>
---END OF FILE----
I can figure out the row column parsing since its fixed length. I am unable to ignore the unwatned lines dynamically in my type tree. I want to create a map which will ignore all other lines (Start of file till it reaches value "Date" in a repeating structure)till it reaches end of file .
How can I parse this using WTX?
Thanks all.
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender