Hi
Inout Data:
MT
row: 0..unbound
C1
C2
C3
C4
C1 C2 C3 C4 C5
X 1 10 A
X 1 10 B
X 1 10 B
X 1 10 A
X 1 20 A
X 1 20 A
X 2 10 A
X 2 10 B
X 2 10 B
X 2 10 A
X 2 20 A
X 2 20 A
Output Data:
MT
record: 0..unbound
C1
C2
C3
C4
C1 C2 C3 C4 C5
Record 1st occurence
X 1 10 A
Record 2nd occurence
X 1 10 B
Record 3rd occurence
X 1 20 A
Record 4th occurence
X 2 10 A
X 2 10 B
X 2 20 A
THanks,
Murali