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

Define project in datastage?

1070


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

2207


table actions available in oracle connector?

1579


What is the difference between the local container and shared container?

1062


What is orabulk stage?

1010


How do u convert the columns to rows in datastage?

1162


What is ibm datastage flow designer?

1106


What is datastage engine?

1145


What steps should be taken to improve Datastage jobs?

1027


What are stage variables and constants?

1115


Define Routines and their types?

1134


What are orabulk and bcp stages?

1093


What all the types of jobs you developed?

1144


Explain the situation where you have applied SCD in your project?

2006


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

769