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

What can we do with datastage director?

1190


how to run a sequential file stage in parallel if the stage is used on the TARGET side

1707


Explain connectivity between datastage with datasources?

954


What is the difference between informatica and datastage?

1173


how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?

2343


What are transforms and what is the differenece between routines and transforms?

1022


Can you implement SCD2 using join, transformer and funnel stage?

1520


Can we use target hash file as a lookup ?

3289


What are the types of containers?

1168


What steps should be taken to improve Datastage jobs?

1026


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

1224


How can one find bugs in job sequence?

1347


What are the different kinds of views available in a datastage director?

994


What are the functionalities of link partitioner?

992


Triggers,VIEW,Procedures

1193