I cant figure why my duplicates are elimated in the following. I want to create a count of duplicate records on key 'ACCOUNT' (which works ok) and display all records including duplicates. I'm only getting one record for each key. Please someone...
38:11,10, CLIENT NUM
48:126,15, CLIENT NAM
63:43,9, FINANCL INST
72:71,10, AMOUNT
82:X'0000001C')
SUM FIELDS=(82,4,PD)
OUTREC FIELDS=(01:01,18, CUST ACC NUM
21:19,1, CLAIM OFFC
24:20,5, CONTRACT NUM
31:25,10, CERT
43:35,3, SERVICE LINE
48:38,10, CLIENT NUM
60:48,15, CLIENT NAM
77:63,9, FINANCL INST
88:72,10, AMOUNT
100:82,4,PD,EDZ9=(Z,ZZZ,ZZZ))
SORT FIELDS=(01,18,CH,A) POSITION AFT INREC
//SYSOUT DD SYSOUT=*