how can i get 2nd highest salary in datastage?can u send me
,thanQ
2)if i had source has 2 records 1st record ie 1st column
contains 1,2,3 and 2nd coulmn contains 10,10,10 i have to
get target as 2nd columns as 20,30,40 how can i?

Answer Posted / subhash

for 2nd Qn:
Source is:
Col1 Col2
1 10
2 10
3 10
In transformer, we put the below logic:

Link.Col1 * Link.Col2 + Link.Col2------>Col2

1*10+10------------->20
2*10+10------------->30
3*10+10------------->40

Hope this is fine.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you move hashed file from one location to another location?

1771


What are datastage sequences?

777


If you want to use a same piece of code in different jobs, how will you achieve this?

912


What are the various kinds of the hash file?

779


what are .ctl(control files) files ? how the dataset stage have better performance by this files?

2289






What is oci?

958


How you Implemented SCD Type 1 & Type 2 in your project?

3787


Can you highlight the main features of ibm infosphere information server?

742


What is the purpose of pivot stage?

707


How many types of stage?

788


How can you write parallel routines in datastage PX?

702


What are the functionalities of link collector?

724


How to reverse the string using SQL?

984


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

1873


how do u catch bad rows from OCI stage? And what CLI stands for?

2398