space
Previous Page | Next Page

ACCESS Procedure Reference

RENAME Statement



Enters or modifies the SAS name for an item.
Optional statement
Applies to: access descriptor or view descriptor

Syntax
Details
Arguments

Syntax

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


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.  [cautionend]


Arguments

The following list explains the arguments that appear in the RENAME= statement:

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.

space
Previous Page | Next Page | Top of Page