RENAME Statement

Enters or modifies the SAS name for an item.

Type: Optional statement
Applies to: access descriptor or view descriptor

Syntax

RENAME item-name | index-number <=> SAS-name
<... item-name-n | index-number-n <=> SAS-name-n> ;

Required Arguments

item-name

is the name of the IMS item that you want to rename.

index-number

is the index number of the IMS item that you want to rename. The index number represents the item's place in the descriptor. You can get the index number of an item using the LIST statement described earlier in this section.

SAS-name

is the new SAS variable name that you want to assign to the specified item.

Details

The RENAME statement enters or modifies the SAS variable name for an item. If you are creating a view descriptor from an existing access descriptor with an ASSIGN= value of Y, you cannot use the RENAME= statement. You can rename as many items as necessary using one RENAME= statement.
Note: If the VALIDVARNAME system option is set to V6, this statement affects the SAS name parameter. If VALIDVARNAME is set to V7 or one of the other values, it affects the item name.