Duplicating Ideal programs at the max version number (999)
search cancel

Duplicating Ideal programs at the max version number (999)

book

Article ID: 108049

calendar_today

Updated On:

Products

Datacom Ideal

Issue/Introduction

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.

Resolution

There are several steps needed to resolve this error:

  1. Export version 999 of the program using the Source Transport Utility (IDUTSTRN).
  2. Import the exported program back into the system as version 001. 
    Note: For details about this utility, please see the Ideal documentation for "Source Transport Utility--Transport Applications in Source Form."
  3. All History versions (usually version 997, 998, and 999) of the involved program must be deleted. However, a good practice here is to export the source of these History versions (via IDUTSTRN) and archive them before deleting them.

Here is another method which keeps the current PROD version plus history versions.

  1. Export versions 997 (HIST), 998 (HIST), and 999 (PROD) using the IDUTSTRN utility.
  2. Import the programs back into the system as versions 001, 002 and 003 respectively.
  3. Mark versions 001 and 002 to HIST again, and version 003 to PROD. In this way, there are still two levels available on-line to fall back quickly with a DUP command, as opposed to doing the re-import from archive. 

Additional Information

As always, please contact Broadcom support for Datacom if you have further questions.