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 one source columns or rows to be loaded in to two different tables?

664


Can you explain tagbatch restructure operator?

705


client know skid info?

1635


How do you run datastage job from the command line?

602


What are the different type of jobs in datastage?

608






What is a quality stage in datastage tool?

630


How do y read Sequential file from job control?

14415


what are the errors,warnings in datastage

2155


How to manage date conversion in Datastage?

640


Difference between ‘validated ok’ and ‘compiled’ in data stage?

674


What are the benefits of datastage?

725


What is the difference between server job and parallel jobs?

672


Notification Activity

900


What are the features of datastage flow designer?

635


What is quality stage?

574