In most COBOL compilers it is possible to specify WITH DUPLICATES on the RECORD KEY, but xddgen did not allow this (it failed with a syntax error). The xddgen syntax has been expanded to support duplicates on the record key in addition to the support for duplicates on alternate keys. A record key that allows duplicates cannot be marked as primary key in SQL.