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
  • 1.  Large Flat File Parsing using wm61 flat file adapter

    Posted Wed February 09, 2005 07:45 PM

    When I set the iterator to “true” the output generated by convertToValues service creates a document and not document list. So how do I loop over records. Is this a bug ?


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


  • 2.  RE: Large Flat File Parsing using wm61 flat file adapter

    Posted Wed February 09, 2005 08:33 PM

    Dummy,

    Make sure in your FFSchema the recordDefinition set to “unlimited” and so the corresponding FFDocument is showing as a documentList.
    If u set iterator =true then convertToValues output should show the docList based on the FFSchema.This is not a bug its working for everyone.

    Check you might be missing some thing by making use of ffIterator,pls read the documentation of convertToValues explained in the FFUserguide.it explained elaborately about using of Iterator object.

    HTH,
    RMG.


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


  • 3.  RE: Large Flat File Parsing using wm61 flat file adapter

    Posted Wed February 09, 2005 08:47 PM

    If I do not set the iterator = true, the document created in the pipeline is documentList else it is document.

    If the service is creating document list on converToValues, I don’t see any thing wrong in the FF schema.


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


  • 4.  RE: Large Flat File Parsing using wm61 flat file adapter

    Posted Wed February 09, 2005 09:06 PM

    Dummy,

    Check this thread link,hope you will get some idea.
    [url=“wmusers.com”]wmusers.com

    Note:wm.flatfile:ConvertToValues how to make use of ffIterator/Iterator inputs and looping of large FF:

    ffIterator Object (optional) An object that encapsulates and keeps track of the input records
    during processing. It is used only when the iterate variable has been set to true.
    When all input data has been processed, the object becomes null. When the
    ffIterator variable is null, you should exit out of the LOOP to discontinue
    processing.

    HTH,
    RMG.


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