COPYOBJECT

Copies a database object.

Syntax

COPYOBJECT objType sourceApp sourceDb sourceObj destApp destDb destObj

Parameter Description/Values
objType Type of object to list.
0 - Abort
1 - Outline object (not available)
2 - Calculation script
3 - Report script
4 - Rules file
5 - Alias table
6 - Structure file
7 - Backup file (not available)
8 - Worksheet of any type (not available)
9 - Text object
10 - Partition
11 - Linked Reporting Object
12 - Selection
13 - Wizard
sourceApp Name of the application that includes the object to copy.
sourceDb Name of the database that includes the object to copy.
sourceObj Name of the object to copy.
destApp Name of the application for the new object.
destDb Name of the database for the new object.
destObj Name of the object copy.

Notes

Two values for the objType parameter, 6 and 7, are retained only for backward compatibility with Release 2.0.

Example

COPYOBJECT "2" "FINANC95" "SALES95" "OLDOBJ" "FINANC96" "SALES96" "NEWOBJ";

©2004 Hyperion Solutions Corporation. All Rights Reserved.
http://www.hyperion.com