GDEVICE Procedure

RENAME Statement

Changes the name of the device entry to the name specified in the statement.
Restriction: Not valid in browse mode.
Requirement: 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.

Syntax

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.