Previous Page | Next Page

The GDEVICE Procedure

RENAME Statement


Changes the name of the device entry to the name specified in the statement.
Requirements: You must have write access to the current catalog to rename a device entry. You must specify the CATALOG= option in the PROC GDEVICE statement to have write access to the current catalog.
Restriction: Not valid in browse mode.

RENAME device-entry
NEWNAME=entry-name;

Required Arguments

device-entry

specifies the one-level name of the device entry that you want to rename.

Restriction: The entry must exist in the current catalog.
NEWNAME=entry-name

specifies the new entry name. Entry-name must be a valid name for a SAS catalog entry and cannot already exist in the current catalog. If the name already exists, the GDEVICE procedure issues an error message.

Previous Page | Next Page | Top of Page