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 usage of datastage with materialized views

4 Answers   HP, TCS,


In work load management there are three options of Low priority, Medium priority and High Priority Jobs which can be used for resource management. why this feature is developed when there is already jobs prescheduled by scheduler or autosys. what will be the use of workload management then?

0 Answers  


im new to this tool im now at project plz tell me step by step process how to design plz help me i wnt to go with exp for job plz give me d proper design and explination

0 Answers  


What is RCP

5 Answers   CGI, CTS,


How a source file is populated?

0 Answers  






What is the sortmerge collector?

0 Answers  


hi i am madan, in real time data stage who is the source provide? and how to recevied in developer? Pls send me answer 

1 Answers   HCL,


hi i am bhavani, in real time data stage who is the source provide? and how to recevied in developer? Pls send me answer

1 Answers   Polaris,


2.how u run your rotines in unix? what is job sequencer? if i have 4 jobs i would like to run 2 jobs in server(using job jobsequencer)and remaining 2 in parallel?how can i run?

1 Answers  


How do you get log info into a file?

1 Answers  


Parallel job contains more than 20 stages. I want to find out which stage is more performance incentive.

1 Answers   IBM,


What is diff between Junk dimensions and conform dimension?

4 Answers   Polaris,


Categories