Command—copyentity - trillium_discovery - trillium_quality - 17.2

Trillium DQ Repository Administrator Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Quality
Trillium > Trillium Discovery
Version
17.2
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium DQ Repository Administrator Guide
First publish date
2008
Last updated
2024-07-01
Published on
2024-07-01T08:53:20.448228

The copyentity command lets you copy any entity stored in a repository. This includes entities that are created in the Control Center, as well as entities created using the command line interface (mtb_admin). A new entity is created to hold the copy.

The command requires that you know the identifier of the entity you want to copy. Trillium gives each entity a unique identification number when it is created. This identifier is a number and displays in parenthesis in the Navigation View entity lists.

Syntax

copyentity {<entity_id1> <entity_id2 . . .<entity_idn>}

where <entity_id1><entity_id2. . .<entity_idn> are the numbers that identify the entities you want to copy.

Optional Parameters

Parameter

Description

-workgroup <1|0>

Type 1 to create the copied entity in the same project as the source entity. Type 0 to create the copied entity outside of the project. If this parameter is not specified, the default is 1.

-joins <open|closed|empty>

Type open to copy all permanent joins; type closed to copy only joins in the listed entities; type empty if you do not want to copy any joins.

Example

This command copies the entity identified as "23" and ensures that the entity copy is not placed in the project that contains the source entity. It also ensures that joins are not copied.

copyentity 23 -workgroup 0 -joins empty