Chapter Contents

Previous

Next
RENAME

RENAME



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 SAS System option is set to V6, this statement affects the SAS name parameter; if VALIDVARNAME=V7, 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-DL/I item that you want to rename.

index-number
is the index number of the IMS-DL/I 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.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.