The maximum value for the Version attribute of a Datadictionary entity is 999. This limit also affects Ideal entities like programs, panels, and reports.
When trying to duplicate a version 999 of an Ideal program to the next version (DUP PGM pgmname V 999 TO NEXT VERSION), a COP004 DSF Return Code is issued:
IDADERRP71E - INTERR: CA-DATADICTIONARY error, RC=COP004
DSF RC COP004 has the following meaning:
COP004 - CANNOT READ LOCATED VERSION
Reason: You encountered an internal error.
Action: Collect all documentation and contact Broadcom Support.
There are several steps needed to resolve this error:
Here is another method which keeps the current PROD version plus history versions.
As always, please contact Broadcom support for Datacom if you have further questions.