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
Explaine the implimentation of scd's in ds indetail, please send me step by step procedure to perform scd's 1,2,3. Please replay for this, Thanks in advance
Differentiate between operational datastage (ods) and data warehouse?
How many Key we can define in remove duplicate stage?
What are the functionalities of link partitioner and link collector?
What is a merge?
How can one find bugs in job sequence?
What are the different plug-ins stages used in your projects?
What are the areas of application?
What are the types of containers?
Differentiate between hash file and sequential file?
How do you run datastage job from the command line?
CHANGE CAPTURE
What are orabulk and bcp stages?
sed,awk,head
Why do you need stage variables?