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.  How to quote fields in flat file output

    Posted Tue May 03, 2005 03:11 PM

    I am converting an internal format document to a flat file using a schema without record identifiers. How can I get certain fields in the pub.flatFile.convertToString output to be enclosed in quotes? When I write a format service to do this using pub.string.concat I get quoted quotes in the output, i.e., three quotation marks on either end of the field.

    We’re using WM 6.1. Thanks.


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


  • 2.  RE: How to quote fields in flat file output

    Posted Tue May 03, 2005 03:35 PM

    Tim,

    Before you invoking convertToString why dont you set the quotes what ever the fields you want to in the ffValues itself and then do the convert.will this be ok?

    HTH,
    RMG


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


  • 3.  RE: How to quote fields in flat file output

    Posted Tue May 03, 2005 06:13 PM

    RMG,

    Thanks, that did work. I ended up writing a service to set the quotes and using it as a transformer. I was thinking that there would be an option in either the FF dictionary or the convertToString service to do it, but this approach will work fine. Thanks for the suggestion.

    Tim


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


  • 4.  RE: How to quote fields in flat file output