Search the duplicate record in the INPUT file.
Focus on the keyfields of the primary – use DSPFD to determine the keys
The value of the combined key fields must be unique.
Check for logical files – DSPDBR physical
if any of these are UNIQUE then their keys also cannot be duplicated.
Check your code – you maybe attempting to write the same record twice.
Register Hereor login if you are already a member