eno ename esal acct1 acct2 amount1 amount2
100 suresh 10000 sbi1 sbi2 1000 2000
this is our sourse data
i would loke to disply like this
eno ename esal acct amount
100 suresh 10000 sbi1 1000
100 suresh 10000 sbi2 2000
Answer Posted / geetha
Using @iteration=2 looping and define two stage variables and put the if else condition to provide the derivation (ex: @iteration=1 then acct1 else if @iteration=2 then acct2.)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many types of sorting methods are available in datastage?
how to sort two columns in single job in datastage.
How to RD using transformer?
On which interface you will be working as a developer?
CHANGE CAPTURE
Notification Activity
What is meta stage?
Name the different types of Lookups in Datastage?
Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.
How many areas for files does datastage have?
How a routine is called in datastage job?
How to read multiple files using a single datastage job if files have the same metadata?
How to find value from a column in a dataset?
Is the value of staging variable stored temporarily or permanently?
What is the difference between informatica and datastage?