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 guys,

please design a job with derivation(solution).
write exact conditions.

My requirement
Source table
emp_no qualification
1 a
1 c
2 a
3 c
3 b

Target table
emp_no qualification
1 b
2 b
2 c
3 a

Here every employer have three qualifications i.e a,b and c.
what ever source table dont have some qualification, that
will be move to target table.
Like above.

Hope u get the point.

Thanks.

Answers were Sorted based on User's Feedback



Hi guys, please design a job with derivation(solution). write exact conditions. My requiremen..

Answer / sriharsha vemuri

Take source as emp_no,qualification 1,b 2,b 2,c 3,a and
reference as date as emp_no,qualification 1,a 1,b 1,c 2,a
2,b 2,c3,a3,c 3,b now take lookup for both
emp_no,qualification columns and reject the date. This Worked.

Is This Answer Correct ?    12 Yes 2 No

Hi guys, please design a job with derivation(solution). write exact conditions. My requiremen..

Answer / shar

Since Each Employee should have 3 qualification then Primary
file should be like below because Primary is always Static.
In which terms it should be like this.
Primary file:
empno,qua
1,a
1,b
1,c
2,a
2,b
2,c
3,a
3,b
3,c

And this is our Reference data we have.

RefFile:
empno,qua
1,a
1,c
2,a
3,c
3,b

Primary,ref-->lookup-->output & Reject.
and match the empno and qua and set lookup failue = reject
at reject file
U will get desired output.
Thats it.

Is This Answer Correct ?    8 Yes 1 No

Hi guys, please design a job with derivation(solution). write exact conditions. My requiremen..

Answer / sher

A) Read distinct emp_no we get 1,2,3 add a new column and populate as 1
B) read qualification, we get a,b,c add add a new column and populate as 1
Inner join A and B on new column…
we get 1-A,1-B,1-C 2-A,2-B,2-C and 3-A,3-B,3-C
Change capture with input file and drop all records with no change.

Is This Answer Correct ?    2 Yes 1 No

Hi guys, please design a job with derivation(solution). write exact conditions. My requiremen..

Answer / suneelbabu.etl

Here as my knowledge
Seq--->Tx---->DS

In Tx by using stage varible we can do dis.

Thanks.

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Data Stage Interview Questions

how to sort two columns in single job in datastage.

1 Answers   TCS,


Hi friends,Two input files, wants to validate only if the reference data has '0' otherwise no validation should be done..how to do this??

1 Answers   IBM,


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

4 Answers   TCS,


Hi All , in PX Job I have passed 4 Parameters and when i run the same job in sequence i dont want to use those parameters , is this possible if yes then how

0 Answers   TCS,


What are the components of datastage?

0 Answers  


Demonstrate experience in maintaining quality process standards?

0 Answers   iGate,


How do u set a default value to a column if the column value is NULL?

7 Answers   HP,


how can we generate row values like 1 1 1 2 2 2 3 3 3 using col generator plz let me know

2 Answers  


we run a job in 4 nodes,i want to run same job on 8 nodes is it possible? job recompling is mandtory?why?

1 Answers   HSBC, NTT Data,


what is the difference between 7.1,7.5.2,8.1 versions in datastage?

3 Answers   IBM,


what r the sources u need to create the datastage?

1 Answers  


How the ipc stage work?

0 Answers  


Categories