ACCESS Procedure Reference |
Enters or modifies the SAS name for an item.
Optional statement |
|
Applies to: |
access descriptor or view descriptor
|
RENAME item-name|index-number <=> SAS-name
<... item-name-n|index-number-n <=>
SAS-name-n>;
|
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]](../../../../common/61925/HTML/default/images/cautend.gif)
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.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.