4. CA MICS Facilities › 4.2 CA MICS Component Generator (MCG) › 4.2.4 Generator Definition Statements › 4.2.4.3 MSI Definition Statements › 4.2.4.3.3 Variable Rename Statement (RENAME)
4.2.4.3.3 Variable Rename Statement (RENAME)
This statement allows the user to change the name of a
variable in the INPUTSAS data set. Renames are applied as the
input data is read from the SAS data sets via the RENAME
option. Note that all subsequent MSI statements must use the
RENAMEd value.
STATEMENT FORMAT
This keyword is coded with the KEYWORD starting in column 1,
free-form, and continuing through column 72. Continuation is
not supported. The following describes the format and
coding rules for the RENAME statement.
RENAME orgname newname
| | |
| | |
| | +--- NEWNAME - New variable name
| |
| +---ORGNAME - original name of the variable on
| the input SAS data set.
|
+-----Statement identifier
STATEMENT OPTION DEFINITIONS
RENAME - Defines the renaming of an input SAS data set
variable.
ORGNAME - The eight-character name of the
variable on the INPUTSAS or INPUTMODEL
data set. If ORGNAME is the same as an
existing common data element, COMMON
status is revoked.
NEWNAME - The eight character new variable name.
Note that all subsequent statements
must refer to NEWNAME.