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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only

Parsing a vertically strctured flat file

  • 1.  Parsing a vertically strctured flat file

    Posted 01/28/04 01:23 AM

    I want to parse a “vertically structured” file so if I have the following - A PO wraps a header (PH) and line item (PL) Is it possible to have the fields of the header on separate lines based on their position after the PH line without a descriptor? Or do they have to go in fixed width format across the line?

    (fields are below record in order they appear without record descriptor):
    PO
    PH
    00002
    My Header
    PL
    1234

    Second option (fields are beside record descriptor in fixed format):

    PO
    PH00002My Header
    PL1234

    or (every line has a record descriptor):
    PO
    PH
    LN00002
    MHMy Header
    PL
    PLN1234


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