Source flat file contains
src
---
1
2
'
'
'
18
we had 3 targets
T1 T2 T3
-- -- --
1 4 7
2 5 8
3 6 9
10 13 16
11 14 17
12 15 18
How can i get?
**Using only datastage, but not unix or any other.
I am expecting the answer soon..
Thanks in advance.
Answer Posted / chandra swain
source-->transformersatage--->dataset1
---->dataset2
----->dataset3
double click on transformerstage,copy the input to output link
i.e(dataset1,dataset2,dataset3),then go to constraint part of the transformer stage ,we will find three constraint tabs,
in 1st constraints tabs write down--> column=1orcolumn=2orcolumn=3orcolumn=10orcolumn=11orcolumn=12
then go to 2nd constraints tabs --->write similarly
column=4orcolumn=5orcolumn=6orcolumn=13orcolumn=14orcolumn=15
,then go to 3rd constraints tab and click on otherwise/Log
go to dataset1,click on partitioning tab,select partition type:=hash,then click on check box(i.e perform sort)..
similarly ,go to dataset2,dataset3,and mention all the above technic...
i hope u got solun......
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Define ds designer?
what is the use of surogate key in datastage
What is Ad-Hoc access? What is the difference between Managed Query and Ad-Hoc access?
What is the difference between passive stage and active stage?
Why do you need stage variables?
What are the some differences between 7.x and 8.x version of datastage?
what is the difference between == and eq in UNIX shell scripting?
Differentiate between operational datastage (ods) and data warehouse?
How many types of views are there in a datastage director?
Whats difference betweeen operational data stage (ods) and data warehouse?
Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also
What is the use of datastage designer?
How many types of stage?
tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise
If you want to use the same piece of code in different jobs, how will you achieve it?