How to remove ctrl M or(^M) characters in file using Sequential File stage?
Answer Posted / subhash (subbuchamala)
We can use these ways also to remove Control M Characters
tr -d '\r' < yourfile.txt > yourfile1.txt
mv yourfile1.txt yourfile.txt
or
Change the line terminator in Sequential File stage from
UNIX-style to DOS-style(it's a stage property).
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is datastage engine?
What is the purpose of pivot stage and types of containers in datastage
What is the process of killing a job in datastage?
How do you run datastage job from the command line?
disign the complex job in u r project?(they are aksing only complex job design and then data flow...)
What is a datastage job?
How to convert RGB Value to Hexadecimal values in datastage?
Explain entity, attribute and relationship in datastage?
Define ds designer?
How many types of views are there in a datastage director?
Have you used Unstructured data?
Define project in datastage?
What are the main features of datastage?
What are the types of containers in datastage?
How one source columns or rows to be loaded in to two different tables?