I 031173 1341428 0 H 1
D 032863 1343710 7 H 4
D 032973 1343865 7 H 1
D 034284 1345636 7 H 1
POL-NUMBER INFORCE FILL-B1 COMP-IND PAY-LIMIT INF-AGENCY
ID NREC-# OREC-# <---+----> <> <> - <> <-->
POL-NUMBER INFORCE FILL-B1 COMP-IND PAY-LIMIT INF-AGENCY
ID NREC-# OREC-# <---+----> <> <> - <> <-->
D 037587 1350080 7 H 4
D 038336 1351121 7 H 4
D 039844 1353438 7 H 1
D 040029 1353757 7 H 12
D 041357 1355876 7 H 2
D 041705 1356415 7 H 12
D 044720 1360757 7 H 4
D 047036 1364121 7 H 4
D 047248 1364456 7 H 1
D 050317 1368930 0 H 12
coming multiple times in my output file. I want to remove the duplicate occurrence of this particular line but want to keep the first one. I tried with the following sort card
Code:
SORT FIELDS=(5,32667,CH,A)
SUM FIELDS=NONE,XSUM
but it is giving me error.
Code:
SORT FIELDS=(5,32667,CH,A)
*
SUM FIELDS=NONE,XSUM
WER271A SORT STATEMENT : NUMERIC FIELD ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000