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.  Fixed length flat file to array with no delimiter

    Posted 04/22/05 09:42 PM

    I have the following flat file:

    testfield1testfield2testfield3testfieldAtestfieldBaaaafieldCtestfieldXtestfieldYtestfieldZ

    Looking closely, you can see that there are three strings (1,2,3 - A,B,C - X,Y,Z). I want to put these into a document list as follows: DocumentList/Field1,Field2,Field3. The file will be fixed length, and always have three values for each array. The fields are also fixed position, so 0-10 will be field 1, 10-20 will be field 2, 20-30 field 3, then 30-40 field a of the second item in the list.

    Can I make make this happen using WmFlatFile, or do I need to create the array after getting the data from the flat file.


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


  • 2.  RE: Fixed length flat file to array with no delimiter

    Posted 04/23/05 01:15 AM

    I think once you have parsed the fixedlengh data then build the array this would be ideal way and can wrap accordingly in the doclist.

    HTH,
    RMG


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