Previous Topic: UsageNext Topic: MANAGEMENT GROUP


Examples

The following examples illustrate the use of ENTITY commands:

Example 1

ADD ENTITY SELECTION-DATE TYPE ELEMENT VERSION 1
    STATUS (FOR CCID "ADMINISTER" IS  "MANUAL-ENTITY")
    COMMENT "PRE-DEFINED ELEMENT ENTITY".

CA Endevor/DB will store an entity named SELECTION-DATE with an entity type of ELEMENT, a version number of 100 and the indicated remarks in the CCDB and associate it with a status of MANUAL-ENTITY within the context of the ADMINISTER CCID.

Example 2

MODIFY ENTITY * TYPE ELEMENT VER 100
    STATUS IS "NEVER-MIGRATE".

CA Endevor/DB will assign a global status of NEVER-MIGRATE to all entities in the CCDB with a type of ELEMENT and a version number of 100.

Example 3

MODIFY ENTITY SELECTION-DATE TYPE ELE VER 100
    REMOVE STATUS IS "NEVER-MIGRATE"
    COMMENTS "SPECIAL ELEMENT".

CA Endevor/DB will remove the NEVER-MIGRATE status from the version 100 of the SELECTION-DATE element entity and update the comments.