Skip to Content
author's profile photo Former Member
Former Member

^M getting added while placing the file in receiver folder.

Dear All

We have a pass through scenario from file to file.

The target team is saying that they are getting the garbage value ^M in the target file.Kindly let me know how to handle this in XI asap as the production support got stopped as they are unable to consume it.

Regards

Nagur

image001.png (23.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2016 at 05:24 AM

    Dear all

    Thanks for all the replies.

    I have the changed the encoding format to ASCII and it worked.

    Regards

    Nagur

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 15, 2016 at 10:04 AM

    Meera,

    As this is the pass through scenario i dont think this issue is caused by PI.

    Usually ^M acts as a end line characters which differ for different OS.


    Check this link : sql - '^M' character at end of lines - Stack Overflow


    Br,

    Manoj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 15, 2016 at 02:12 PM

    Hi Nagur,

    You can run dos2unix command on your file either on source directory or before placing it to the target folder. It will remove this unwanted characters of new line.

    You can also use this command as operating system command in adapter.

    Regards,

    Rahul

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.