RENAMEOBJECT

Renames an existing object.

Syntax

RENAMEOBJECT objType sourceApp sourceDb sourceObj newObjName
ParameterDescription

objType

Type of object to rename. Values:

0 - Abort 1 - Outline object, not available 2 - Calculation script 3 - Report script 4 - Rules object 5 - Alias table 6 - structure file 7 - Backup file, not available 8 - Worksheet of any type, not available 9 - Text object 10 - Partition 11 - Selection 12 - Wizard

sourceApp

Name of the application that includes the object.

sourceDb

Name of the database that includes the object.

sourceObj

Name of the existing object.

newObjName

New name for the object.

Notes

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

Example

RENAMEOBJECT 2 "FINANC95" "SALES95" "OLDOBJ" "ARCHIVE";