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

1.i have 5 jobs(1-5),i connect with each other,i want run from 3-5 only how? 2.how to schedual the job in datastage7.5 2? what is the deff bet grip and fgrep command? how do you cleanse the data in your project

1 Answers   Accenture,


how can u handle null values in transformer stage.

7 Answers  


Differentiate between Join, Merge and Lookup stage?

1 Answers  


client know skid info?

1 Answers   NTT Data,


how to add a new records into source?

1 Answers  


How to reverse the string using unix?

1 Answers   CTS,


How do you start developing a datastage project?

1 Answers  


What is the difference between operational data stage (ods) and data warehouse?

1 Answers  


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

1 Answers  


how to define satge variables in transformer stage

2 Answers  


what is meant by port ? what is the use of port ? what are the different type of ports and its usage

2 Answers   Accenture,


How to use Environment variable's in datastage?(use of process)

1 Answers   CSC,


Categories