Looping in Transformer stage
Posted: Wed Dec 05, 2012 6:07 am
Hi,
I would like to generate multiple rows from a single row and each row is dependent on the previous row. I have implemented this using stage variables by storing the values of prev and curr record. For looping I have used a constraint which increments the count and checks for the required count.
But I find that this constraint doesnt loop back to the stage variables for implementing the looping. It executes only for the current record.
Can you let me know how to loop back to the stage variables for calculating the next recrod.
I am using 8.1 version which does not have the in built looping option.
I would like to generate multiple rows from a single row and each row is dependent on the previous row. I have implemented this using stage variables by storing the values of prev and curr record. For looping I have used a constraint which increments the count and checks for the required count.
But I find that this constraint doesnt loop back to the stage variables for implementing the looping. It executes only for the current record.
Can you let me know how to loop back to the stage variables for calculating the next recrod.
I am using 8.1 version which does not have the in built looping option.