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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Flatfile space issue after each bunch of header and detail records. If I use Trim service it only removes first and last spaces. Please let me know any other alternatives

  • 1.  Flatfile space issue after each bunch of header and detail records. If I use Trim service it only removes first and last spaces. Please let me know any other alternatives

    Posted Wed January 27, 2021 10:14 PM

    Hi,

    Could someone please help me in removing the space after each bunch of header and detail records. My final output is a string. Please refer the example below

    Eg:
    H~abc~def~
    D~ghi~ijk
    D~lmn~opq

    H~abc~def~
    D~ghi~ijk
    D~lmn~opq

    H~abc~def~
    D~ghi~ijk
    D~lmn~opq


    #webMethods
    #flatfile-format


  • 2.  RE: Flatfile space issue after each bunch of header and detail records. If I use Trim service it only removes first and last spaces. Please let me know any other alternatives

    Posted Thu January 28, 2021 05:16 AM

    Hi Jagadish,

    can you provide an example of the expected and recent output strings please?

    You might want to use some special character where the spaces are/should be, so it becomes easier us to check your example.

    Regards,
    Holger


    #flatfile-format
    #webMethods