Previous Topic: RENAME Control StatementNext Topic: STATUS Control Statement


Syntax

RENAME new-name

where new-name specifies the high-level name to which the database is to be renamed. The maximum length of the name is 17 characters. This operand is required.

After completing the rename operation, the high-level name of the database that is used by subsequent operations is set to the new name of the database.

For example, the statement:

RENAME DELIVER.NEWSYS1

is identical to the following two statements:

RENAME DELIVER.NEWSYS1
NAME DELIVER.NEWSYS1