i have source data like
empno,enmae
11 ,aa
12 ,bb

i want output like
empno,ename
11 ,aa
12 ,bb
11 ,aa
12 ,bb

Answers were Sorted based on User's Feedback



i have source data like empno,enmae 11 ,aa 12 ,bb i want output like empno,ename 11 ,..

Answer / satyanarayana

take one copy stage and then take two output links from copy
stage and next these two o/p links given to funnel stage and
provide option called 'sequential mode' in funnel stage then
you will get req output.

Is This Answer Correct ?    18 Yes 3 No

i have source data like empno,enmae 11 ,aa 12 ,bb i want output like empno,ename 11 ,..

Answer / venugopal

Take source in the sequential file and take two copy stages
and map the columns to two copy stages and use funnel stage
to funnel the data from two copy stages and o/p into the
file now you can see the o/p is your requirement....

Hope this will help you...

Is This Answer Correct ?    5 Yes 4 No

i have source data like empno,enmae 11 ,aa 12 ,bb i want output like empno,ename 11 ,..

Answer / raj

Hello Chowdary... Using one source file only not two source
files he is asking first look into the question and answer
in the proper way...

Is This Answer Correct ?    3 Yes 3 No

i have source data like empno,enmae 11 ,aa 12 ,bb i want output like empno,ename 11 ,..

Answer / sarath

HEY GUYS....ANS #4 IS CORRECT AND I CHECKED IT.

Is This Answer Correct ?    1 Yes 2 No

i have source data like empno,enmae 11 ,aa 12 ,bb i want output like empno,ename 11 ,..

Answer / amit

read the file from sequential file stage, use a transformer in between, write the same data to the same file using sequential file stage as target by setting option to - load file in append mode.

Is This Answer Correct ?    0 Yes 1 No

i have source data like empno,enmae 11 ,aa 12 ,bb i want output like empno,ename 11 ,..

Answer / rambabu

from sequential file connect copy stage
from capy take 2 o/p links and these o/p links conn to 2
transformer stages
next take funnel stage
in funnel set property funnel type=seq i thionk this is
solutions

Is This Answer Correct ?    0 Yes 4 No

i have source data like empno,enmae 11 ,aa 12 ,bb i want output like empno,ename 11 ,..

Answer / chowdary

Take 2 sequentalfiles target dataset and processing funnel
stage.

note: Take similar structure we need common column names,
common datatypes then merging this process.....

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More Data Stage Interview Questions

What is the use of Row generator stage?

2 Answers  


How to write a expression to display the first letter in Caps in each word using transformer stage ? Please let me know ASAP Thanks in advance...

0 Answers   Alpharithm Technologies,


Hi Vijay here For Four CPU's how many nodes will required?

4 Answers   TCS,


What are the main differences you have observed between 7.x and 8.x version of datastage?

0 Answers  


how to get sum of sal based on dept_no and then sum of all sal irrespective of dept_no in same sql. output:- 10, 200(sum of sal for dept_no 10), 5000(sum of all sal)

0 Answers  






What is a folder? Difference types of stages?

0 Answers  


i have 3 diffrent tables. 1) US rate data 2)CANADA rate data and 3)MEXICO rate data. All 3 tables have 6 collumns each. 4 collumns are commun to all tables and 2 are diffrent. Now at target i want single table say Country rate which will have (4+2+2+2+1 flag) 11 collumns. I will add a flag collumn which will indicate country and will put nullable collumns which are not common to other. How i can implement this in datastage?

1 Answers   ABC,


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

0 Answers  


How can you join flat file, oracle as a sources?

4 Answers   IBM,


file having these input and we have to get 3 output using same job Input 1 1 1 2 3 4 4 4 o/p1 o/p2 o/p3 1 1 2 2 1 3 3 1 4 4 4

0 Answers  


Hi all, explain one complex business rule that you had in your project and how did you accomplish it using DS?

1 Answers   HCL,


Source has 2 columns: USA,NewYork INDIA,MUMBAI INDIA,DELHI UDS,CHICAGO INDIA,PUNE i want data in target like below: INDIA,MUMBAI1 INDIA,DELHI2 INDIA,PUNE3 USA,NEWYORK1 USA,CHICAGO2

0 Answers  


Categories