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

ConvertToString - Unexpected results

  • 1.  ConvertToString - Unexpected results

    Posted Thu December 06, 2007 06:18 PM

    Hi - after working succesfully with fixed length flat files in WM I now created a flow that takes an incoming fixed length flat file, converts the data and then I would like it to use convertToString in conjunction with a new FlatFileSchema to create a new flat file with delimiters that I then FTP to a new destination.

    I defined the ffschema to have record delimiter of “carrigage return line feed” and field delimiter of “,” and quoted release character of “”". As input to ffValues of the convertToString service I am using a document reference to the ffschema document (recordwithnoid) and the data in there looks good before that flow step. But the resulting string contains only the first two fields of each record separated by no delimiters. It seems to be fixed length but there is a big gap like a tab between the fields it looks like. Somehow it is not using the flatfile schema at all even though I specify it in the paramter of the service.

    Any ideas?

    Thanks
    Mike:confused:


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


  • 2.  RE: ConvertToString - Unexpected results

    Posted Wed January 02, 2008 08:47 PM

    Hello,
    Are you just mangling the original document or creating a new one from scratch? Good day.

    Yemi Bedu


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