webMethods

webMethods

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

flatfile schema - unknown num of fileds

  • 1.  flatfile schema - unknown num of fileds

    Posted Tue February 27, 2018 05:20 AM

    Hi,

    Is it possible to build a flatfile schema that parse unknown number of fields?

    This is my file:
    HEADER:001:002:003:004:005

    …and it might go on with more comma separated fields, do I need to know how many in order to build the schema, I like to read them to the end of record?

    thanks


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


  • 2.  RE: flatfile schema - unknown num of fileds

    Posted Wed February 28, 2018 03:01 PM

    I think you can trap those unparsed fields that convertToValues outputs as UnDef fields and then you can make a loop of those or make string of it to analyze the ffSchema that you can build out of it.

    Just a rough thought.

    HTH,
    RMG


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