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.  FlatFile parsing

    Posted Thu May 14, 2015 04:58 AM

    Hi Experts,

    Currently I am having a requirement to parse the following using the flat file which is comma delimited :

    abc,def,{“username”:“xyz”,“useridtype”:“CV”,“lastname”:“test”},xxxyyzz,dddeeefff,status

    This is just sample one record . If carefully observed we have to consider the content inside flower brackets also containing comma as one record .

    Any hints on this highly appreciable .

    Thank you.

    Regards,
    Nischal


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: FlatFile parsing

    Posted Thu May 14, 2015 07:48 AM

    Use in FF schema,
    Record Parser=delimiter
    Record=newline
    Field or composite=,

    Use extractor type as Nth field while creating the field definition under the record definition in your FF dictionary.

    PFA screen of the results.

    testFF.jpg


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: FlatFile parsing

    Posted Thu May 14, 2015 07:52 AM

    Hi Mahesh,

    Thank you for your response . To be more specific we are looking for a solution where entire content which is within the flower bracket should be considered as single string meaning despite it having a comma within it ( it should be treated as a single entity )

    Regards,
    Nischal


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: FlatFile parsing

    Posted Thu May 14, 2015 08:13 AM

    Did you look at my screen shot that was attached earlier, it is ok for you?


    #Integration-Server-and-ESB
    #webMethods