Announcement Announcement Module
No announcement yet.
Reading multiple sections of same format Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reading multiple sections of same format

    How we can read multiple sections of same format( Please find attachment)
    In the attachment,
    Row 1 Starts with 1
    Row 2 to 5 starts with 2
    Row 6 starts with 9.

    There can exist multiple sections of this format in one file.
    We are able to read one section of given format, i.e. Sample1.txt we are able to read using FlatFileItemReader and FieldSetMapper,FixedLengthTokenizer.

    But if we have multiple sections of same type i.e. Sample2.txt we are getting error while reading second section. Please find attached Error message which we are getting.