In the case of data set with INDEXED organization, an attempt was made to transmit a keyed record to a data set that already held a record with the same key. In the case of a data set with REGIONAL(1) or REGIONAL(2) organization that was being created sequentially, an attempt was made to transmit a record to a region that already contains a record. The ONCODE associated with this message is 52.
The ERROR condition is raised.
Either check the validity of the data that is being processed before running the program or use the program to check the data. Use of the ONKEY built-in function in a KEY ON-unit can aid in identifying an erroneous key, correcting it, and allowing processing to continue normally.
IBM052