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
What is data partitioning?
How do you run datastage job from the command line?
Define ds designer?
In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?
Why do you need stage variables?
Can anyone tell me a difficult situation who have handled while creating Datastage jobs?
How many areas for files does datastage have?
What is the differentiate between data file and descriptor file?
What is ibm datastage?
describe the Steps to confiure a Qlogic switch
Define APT_CONFIG in Datastage?
hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys
Define repository tables in datastage?
Lookup constraints
What is ds designer?