View previous topic :: View next topic |
Author |
Message |
manojvoona Beginner
Joined: 05 Jan 2006 Posts: 43 Topics: 14
|
Posted: Thu Jan 05, 2006 10:54 am Post subject: Generate Seqnum for records using syncsort |
|
|
Hi,
I need to generate sequence numbers for all the records present in a file.
The sequence numbers however should restart from 1 when it encounters a new account.
How can this be achieved using syncsort?
e.g
Code: |
Account Seq. Number
Byte (1-3) Byte(4-7)
233 0001
233 0002
233 0003
233 0004
234 0001
234 0002
235 0001
236 0001
236 0002
236 0003
|
Thanks
Manoj |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
manojvoona Beginner
Joined: 05 Jan 2006 Posts: 43 Topics: 14
|
Posted: Fri Jan 06, 2006 4:08 am Post subject: |
|
|
Thanks a lot. |
|
Back to top |
|
|
|
|