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
  • 1.  How to define a multiline flat file schema

    Posted 05/28/03 08:24 PM

    WM6 - I need to create a flat file that has the first 7 lines contain address information and then lines 8-21 contain 1 or more detail lines (up to 14). Can I use the flat file schema to create this? If so, how do I specify that address info should go to a specific line?


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


  • 2.  RE: How to define a multiline flat file schema

    Posted 05/28/03 09:24 PM

    For each of the Address lines and Detail lines, you need to specify in the setting that you can have multiple records. Once you do this, when a flatfile comes in, 2 records lists will be created automatically.


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


  • 3.  RE: How to define a multiline flat file schema

    Posted 05/28/03 09:31 PM

    Steve,
    Yes you can do this with the Flat File Schemas. I think your schema will have to specify 2 sub records. Record 1 is the address and can repeat up to 7 times. Record is the detail lines and can repeat unlimited amount of times.
    You will probably have to play around with the structure of the schema to get it exactly as you require.

    Review the WM EDI Users Guide, WM Flat File Schema Developers Guide and have a look at the WmEDISamples and WmFlatFileSamples packages for examples.

    If I’m off base someone else will chime in.
    HTH


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