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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How and where you used hash file?

653


What is the roundrobin collector?

635


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

2022


Can you explain tagbatch restructure operator?

697


What are iconv and oconv?

768






What is orabulk stage?

624


how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.

2722


What are the difference types of stages?

619


what is flow of project?

1554


In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?

592


What are the functionalities of link partitioner?

613


Could anyone give brief explanation bout datastage admin

1963


What a datastage macro?

627


What is the project in datastage?

660


Is possible to create skid in dim,fact tables?

2186