IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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
Expand all | Collapse all

Flat file Parsing

  • 1.  Flat file Parsing

    Posted Wed September 13, 2006 05:32 PM

    Hi,

    I am Parsing a flat file using a schema that I defined. The flat file comes in the following structure
    H10
    D20–has a child D40
    D16
    D20
    D16
    D20
    .
    .
    .
    H10
    :
    :
    :
    D90 – Final record

    The child record D16 and D20 are random in the file. The file is getting parse fine with CovnertToValues service but when I am publishing this data to the broker only H10, then the first D20 under H10 and the first D20 gets published. I have no idea what happens to the rest. Please advise on this if you have prior experience on this type of flat file parsing

    Thanks


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


  • 2.  RE: Flat file Parsing

    Posted Thu September 14, 2006 08:45 PM

    Hi Emergencee,

    probably you have a document type.
    H10
    D10
    D20 (record)-ChildD40
    D16 (record)
    H10
    D90

    Right?

    It is not clear to me how your structure looks like, but i think you need more hyrarchy in your structure. I think somehting like this:

    document (list)
    -Header (record)
    –lines (list)
    —D20 (record)
    ----D40 (not sure, record or list)
    –D16 (record)
    -SXX (record, is a summary of the document)

    → next document in your list, etc

    I am not sure if this helps you. But Always remember that a business document hat a header and lines.

    Rob


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