webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  need help parsing a fixed length flat file with no record identifier

    Posted Thu September 13, 2007 06:28 PM

    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

    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: need help parsing a fixed length flat file with no record identifier

    Posted Thu September 13, 2007 08:34 PM

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


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: need help parsing a fixed length flat file with no record identifier

    Posted Thu September 13, 2007 10:35 PM

    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.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: need help parsing a fixed length flat file with no record identifier

    Posted Thu September 13, 2007 11:47 PM


  • 5.  RE: need help parsing a fixed length flat file with no record identifier

    Posted Wed September 19, 2007 10:38 PM

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


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods