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

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 / pranay

source----->transformer----->filter------>T1
|
|
--------->T2
|
|
--------->T3
Transformer:
1.drag source column to target.
2.append new column in transformer target as new and apply derivation Mod(input column, 3).

Filter:
where condition1 new = 1
condition2 new = 2
condition3 new = 0

Name the three targets T1, T2, T3.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which r the connectors used in san?

2177


How to read the length of word in unix?

1371


Have you used Unstructured data?

1305


What is the use of datastage designer?

1143


Why fact table is in normal form?

1225


Why do you need stage variables?

1174


What is the difference between account and directory options ?

1171


What are the different type of jobs in datastage?

1035


Hi , Can anyone give few examples of scenarios and there corresponding design in datastage..i am new to this tool...confused in design while my manager asking to design the job.. Please post the URL if there..so i can go through it.. Thanks in advance...

4183


whom do you report?

1916


How to convert RGB Value to Hexadecimal values in datastage?

3985


Explain the importance of surrogate key in data warehousing?

1176


What is Ad-Hoc access? What is the difference between Managed Query and Ad-Hoc access?

2964


What are stage variables and constants?

1139


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

1047