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 / subbuchamala

1) In Sequential file, we have an option like 'filter'.
in the filter we can mention like:
sed 's/\^M//g' FileName.txt

or
2) we can do this in Before job routine(executeSH) and we can cal this in Seq file stage. here we can use UNIX command 'unix2dos fileName.txt'

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe link sort?

1018


What is datastage?

1090


If you want to use a same piece of code in different jobs, how will you achieve this?

1278


Hi everyone,I have kept a project Sales And Distribution for a pharmaceutical company.can anybody explain one complex business rule that we had in our project and how did you accomplish it using DS?

2237


Nls stands for what in datastage?

1191


What is the use of datastage designer?

1159


how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?

2188


Can you explain tagbatch restructure operator?

1184


What are the some differences between 7.x and 8.x version of datastage?

1259


What is the difference between datastage and informatica?

1123


What is staging variable?

1099


Define repository tables in datastage?

1163


What is a merge?

1174


How a routine is called in datastage job?

1121


1.new record it will insert but changes of natural key is not present in taget i want to update (here key is composite natural key )can any one help this to explan how to do

2088