Hi Indrani,
Sorry, but BeanIO doesn't support segment matching/identification within a record.
The only possibility might be to write your own parser (or extend BeanIO's DelimitedReader/Writer) and convert the segments on the fly to records.
For example, if you converted the input from