Previous Topic: In DBMAINT and FILEMAINT ModesNext Topic: In Interactive SQL Service Facility


In ENTMAINT Mode

You can create a new version of an existing occurrence using the COPY command in the ENTMAINT Mode. Only the occurrence is copied, not the structure. Do not use the COPY function in ENTMAINT Mode for a CA Datacom/DB Model or CA FILE Model structure.

When you copy an occurrence, you create a new version of the occurrence in TEST status with the next higher version number available for that occurrence. For example, if you have an occurrence in TEST status versions 1, 2, and 3 and copy the PROD status version, CA Datacom Datadictionary assigns the new TEST status occurrence as Version 4.

Use the following format for this command:

Note: If your completed command exceeds the 76 spaces available in one command line, use the prompter panel to issue the command.

COPY (in ENTMAINT mode)

►►─┬─ COPY ─┬─ /entity,occ-name(vers ─┬────────────────────────────┬─ )/ ─────►◄
   └─ COP ──┘                         └─ , ─┬────────┬─┬─────────┬─┘
                                            └─ pswd ─┘ └─ ,ovrd ─┘
/entity

(Required) Specify the entity of the occurrence you are copying.

Valid Entries:

An existing CA Datacom Datadictionary entity that is not part of the CA Datacom/DB Model or CA FILE Model structure

Default Value:

(No default)

,occ-name

(Required) Specify the name of the occurrence you are copying.

Valid Entries:

1- to 32-character occurrence name

Default Value:

(No default)

vers

(Required) Specify the version or status number of the existing occurrence.

Valid Entries:

1—999
PROD

Default Value:

(No default)

pswd

Only required if this occurrence has protection against unauthorized maintenance with a password assignment. Supply the password for this occurrence. If you omit the password but specify an override code, the preceding comma is required as a delimiter.

Valid Entries:

1- to 4-character password

Default Value:

(No default)

,ovrd

Only required if this occurrence is restricted from unauthorized maintenance or retrieval with a lock level assignment. Supply the override code.

Valid Entries:

1- to 4-character override code

Default Value:

(No default)

When you press Enter, CA Datacom Datadictionary displays the Copy Occurrence Panel. For more information, see Copy Occurrences.