I have the following columns in the EMP table

Empid,Empname,Sal,month(Sal),year(Sal) and DOB(let us say the dob is 15th-Jan-1981)

Desing a job such that the output contains the following

empname,year(sal),tot(sal) and current age i.e. whether 18yrs or so on



I have the following columns in the EMP table Empid,Empname,Sal,month(Sal),year(Sal) and DOB(let ..

Answer / datastage4you

For getting current age, simply do the calculation in transformer, or in SQL itself


http://goo.gl/atN4AT
www.datagenx.net

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Stage Interview Questions

sed,awk,head

0 Answers   CTS,


What is the difference between the local container and shared container?

0 Answers  


i have a scenario in which i/p columns areID,salary with 1,1000 2,2000 and 3,3000 i need an extra column in the o/p named avg(salary)how can i get it?

4 Answers   L&T,


5) A file contains 10 (1-10) I want trgt like Trgt 1 trgt 2 trgt 3 1 2 3 4 5 6 7 8 9 10

4 Answers  


What is the sortmerge collector?

0 Answers  






how to validate the jobs

2 Answers   IBM,


how can you generate sequence number using only the sequential file stage?

3 Answers   TIAA CREF,


What is a quality stage in datastage tool?

0 Answers  


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.

7 Answers  


What are the important features of datastage?

0 Answers  


i have a some records eno ename acono amount 1001 suresh sbi101 12000 1001 suresh sbi101 14000 1001 is dublicata how can i remove duplicate?

4 Answers  


how do u capture duplicates through sort & transformer

4 Answers  


Categories