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...


Hi,
I am getting data from sequential file like below
column1
A&B
C&D
A&E
X&Y&Z
v&x
But I need the target column as like below
column1
A and B
C and D
A and E
X and Y and Z
v and x

Answers were Sorted based on User's Feedback



Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&..

Answer / lakshmi srinivas

By using convert function in transformer,we can implement
that....

Is This Answer Correct ?    6 Yes 0 No

Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&..

Answer / manish

Using Convert function we can achieve this:

Convert('&',' and ',column string)

Is This Answer Correct ?    3 Yes 0 No

Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&..

Answer / srinu

using sequential file using unix command sed s/&/and/g we
will get answer

Is This Answer Correct ?    2 Yes 1 No

Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&..

Answer / bharath

hi,
please take a look on below,


seq_src------->ext_flter----->seq_tgt

in external filter give the
filter command = sed s/"&"/" And "/g command.

**Note: on ampersand (&) symbol you must give the double
quotes (""). With out this it doesn't populate.

Is This Answer Correct ?    1 Yes 0 No

Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&..

Answer / blueboys

Dear Srinu,

I am accepting your answer , but I need it by
using data stage functions

Is This Answer Correct ?    1 Yes 1 No

Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&..

Answer / sree

using expersion
u can create o/p in that write
replacestr(1,columnname,'&','and')

Is This Answer Correct ?    1 Yes 1 No

Hi, I am getting data from sequential file like below column1 A&B C&D A&E X&Y&..

Answer / srinu

hi blueboys
only that answer is proper answer.....interview expected
that answer only.........datastage it is not possible........

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Data Stage Interview Questions

What is a quality stage in datastage tool?

0 Answers  


What is a ds designer?

0 Answers  


how do u capture duplicates through sort & transformer

4 Answers  


Terminate Activity

0 Answers   CTS,


How do you run datastage job from the command line?

0 Answers  


Define oconv () and iconv () functions in datastage?

0 Answers  


i/p o/p1 o/p2 1 1 4 1 1 5 1 1 6 2 2 2 2 2 2 3 3 4 5 6 how to populates i/p rows into o/p1&o/p2 using datastage stages?and also the same scenario using sql?

8 Answers   IBM,


how do u catch bad rows from OCI stage? And what CLI stands for?

0 Answers  


I am defining one varaible parameter date in job parameters.I want use this variable date in where clause in source query.

2 Answers   TCS,


1)How to do error handling in datastage? 2)Did sequential stage accepts .xl files ,xml? znd how?

2 Answers   UHG,


what is the new version in Datastage ? what is the diff b/t New vesion & 7.5 version?

12 Answers   Wipro,


what is normalization and denormalization

2 Answers   CTS,


Categories