Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the project in datastage?

1158


What are the types of containers and how to create them?

1019


Why do we use exception activity in Datastage?

1366


what is the use of skid in reporting?

2426


What is the different type of jobs in datastage?

1022


How to RD using transformer?

1469


Can you explain engine tier in information server?

1179


State the difference between an operational datastage and a data warehouse?

1173


how to achieve this output ? Two Input columns(ID & Name) - ID | Name 1 | Jack 1 | Kara In output there should be only 1 column which will be populated as - 1,Jack 1,Kara

852


What are the main differences you have observed between 7.x and 8.x version of datastage?

1129


Have you have ever worked in unix environment and why it is useful in datastage?

1180


for example You have One Table with 4 Columns (Mgr ID, Department ID, Salary, Employee ID). Can you find out the Average Salary and Number of Employee present per Department and Mgr

1428


project Steps,hits, Project level HArd things,Solved methods?

2178


Lookup constraints

1301


What are routines in datastage?

1378