HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

4- 51
Open Mode: Shared-update or exclusive-update
Scope: DA scope or any scope with create capability and read access to the source entity. The
scope with which the dictionary is open is the owner of the new entity and relation-
ships.
Example
The following example creates a new entity personnel-record of entity type record. This entity has the
same attributes as employee-record. It also creates relationships of elements related to personnel-record
identical to those related to employee-record.
>COPY RELATIONSHIP employee-record, personnel-record;
>>RELATIONSHIP-TYPE = record, element;
>>RELATIONSHIP-CLASS = contains.
>
COPY REPORT
Creates a new report and copies the source report's definition and description to the new report.
Syntax
CO[PY] REP[ORT] source-report-name
,target-report-name
[;INT[ERNAL] = internal-name ]
.
Parameters
source-report-name Name of the report to be copied.
target-report-name External name of a new report that has the same definition and description as the
source-report-name.
internal-name Internal name of the target report. If not specified, the internal name is the same as
the target-report-name.
Description
The target report cannot already exist.
Open Mode: Shared-update or exclusive-update
Scope: DA or any scope with create capability. The scope with which the dictionary is open
is the owner of the new report.
Example
The following example creates the new report sales-report and copies the description and definition from
the existing report accounting-report to the new report.
>COPY REPORT accounting-report, sales-report.
>