I have a request to generate a sequence number and it should be done in the following manner
Retrieve the initial value from a seq tracker table
Use that value as sequence number and add it as column in another parallel process while it gets updated.
After job is done, the max value should be updated in the tracker table so that it should start from that number in the next run
Example
Initial value in tracker table: 1
The data stored should be as
A 1 B 2 C 3
3 will be stored in tracker table now, so initial value is 3 now
Next job run
A 4 B 5 C 6
and so on
I am new to datastage so i have tried using inrownum and partition formula but i don't have idea about how to go with this.