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 a datastage macro?

1054


What is the roundrobin collector?

1095


What is the purpose of interprocessor stage in server jobs?

2228


Notification Activity

1398


How can you write parallel routines in datastage PX?

1011


how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.

3343


What is the purpose of pivot stage?

1164


How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.

3460


What are routines in datastage?

1322


What are the different layers in the information server architecture?

1122


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

2101


What are the important features of datastage?

1119


AGGREGATOR default datatype

1455


What is ibm datastage?

965


What is the difference between odbc and drs stage?

1087