need help parsing a fixed length flat file with no record identifier

I have a fixed length 1040 character per row flat file that I need to parse. There are no record identifiers.

The Flat File format is:

File Header
RecordType1
RecordType2
RecordType3
File Footer

There is no count limitation on RecordTypes. That means, there can nth count of RecordType1 or 2 or 3. I mentioned 3 here just for reference purpose. File Header format is different than File Footer. Also, the record type formats are different too.

I am novice to WebMethods development. Any help will be much appreciated.

Thanks…

  • Tanvir

Have you reviewed the Flat File Schema Developer’s Guide? That would be a good place to get started.

Reamon, yes, I’ve checked the Flat File Schema Developer’s Guide and spent a lot of time behind. But just could not find a solution. My try to find some sort of similar example went in vain. So, far all I could do is create a parse that parses the FileHeader and FileFooter record.

Attached please find a sample file.
Sample_file.txt (86.4 KB)

I am still stuck to parse the attached text file. Any kind of help will be much appreciated.