Say, a file has input records like this :
1111abc
1111bcd
1122abc
1122bcd
1122cde
1111bcd
1122abc
1122bcd
1122cde
Is it possible to assign the SEQNUM as shown below?
1111abc 1
1111bcd 2
1122abc 1
1122bcd 2
1122cde 3
1111bcd 2
1122abc 1
1122bcd 2
1122cde 3
Please suggest.
Thanks.