The RENAME control statement renames a database. The RENAME control statement renames all data sets for the database. The high-level name of the database to be renamed must have previously been defined with the NAME control statement (or the PARM parameter of the EXEC JCL statement).
Syntax:
RENAME new-name
where new-name specifies the high-level name to which the database is renamed. The maximum length of the name is 17 characters. This operand is required.
After completion of 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 following statement:
RENAME VIEW.NEWSYS1
is identical to the following two statements:
RENAME VIEW.NEWSYS1
NAME VIEW.NEWSYS1
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|