input like
2 7 8
9 5 1
7 3 6
output:2 5 6 how to find out this plz explain?
Answer Posted / bhavani
we can acheive this using transformer stage:
1. Check the record count using AGGREGTOR stage and have a column count
2. In the transformer initiate a loop with condition @ITERATION <=count. and loopvar = @iteration
3.if @INROWNUM = loopvar then right(left(@iteration),1) --> output value
Now the result will be 2
5
6
Let me know if this is correct.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How many types of views are there in a datastage director?
How to perform incremental load in datastage?
What is the difference between account and directory options ?
Differentiate between data file and descriptor file?
How do you import and export data into datastage?
If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?
What are stage variables and constants?
What is "fatal error/rdbms code 3996" error?
What is the flow of loading data into fact & dimensional tables?
Different ways a project can be moved to production ?...example ….export-import and Version control.
What are the benefits of datastage?
client know skid info?
What is a ds designer?
What is the roundrobin collector?
What is the different type of jobs in datastage?