Hello
I have a requirement where i need to read the data from seq file and write it to a seq file. i am using transformer and running the transformer sequentially.
I am using a job parameter called group number. If the group number is 4 then i need to create additional column called group number and assin the values as below.
lets say i am extracting 10 rows from input file (a,b,c,d....). The out out should be
Col1 GroupNbr
a 1
b 1
c 1
d 1
e 2
f 2
g 2
h 2
i 3
j 3
and so on.
Need help on how to get this grp numbers. This group number parametr i am passing as a job parameter and this can be any number.
Regards
logic on group number
Moderators: chulett, rschirm, roy
Yet another chance to use stage variables to control that, something very similar to what was just posted here I would wager:
viewtopic.php?t=135971
viewtopic.php?t=135971
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers