An application is getting a Datacom return code 10 (039) because it is trying to add a record with a duplicate master key.
How do I allow duplicate master keys?
Release: 15.1
The return code 10 (39) occurs because the table is defined with DUPE-MASTER-KEY=NO
To allow duplicate master keys make the following changes in Datadictionary:
Normally you would copy the existing Datadictionary table definition from PROD into TEST status.
The using DDOL or DDUPDATE (31xx or 1500 transactions) to change the table attributes.
Then copy the table definition from TEST to PROD status and catalog the definition to the CXX .
See the Datacom documentation section Master Key