Chapter Contents |
Previous |
Next |
VALIDVARNAME |
Default: | V7 (for Version 7 and later) |
Valid in: | configuration file, SAS invocation, OPTIONS statement, OPTIONS window. |
Syntax | |
SAS/ACCESS Specific Details | |
Example |
Syntax |
VALIDVARNAME=V7 | V6 | UPCASE | ANY |
SAS/ACCESS Specific Details |
VALIDVARNAME is a SAS system option that interacts with SAS/ACCESS applications. It enables you to control which rules apply for SAS variable names. For more information about the VALIDVARNAME= system option, see the SAS Language Reference: Dictionary. The settings are as follows:
For more information on SAS naming conventions, see SAS Names and Support for DBMS Names and system options in the SAS Language Reference: Dictionary.
Example |
The following example shows how the PROC SQL Pass-Through Facility works with VALIDVARNAME=V6.
options validvarname=v6; proc sql; connect to oracle (user=testuser pass=testpass); create view myview as select amount_b, amount_s from connection to oracle (select "Amount Budgeted$", "Amount Spent$" from mytable); quit; proc contents data=myview; run;
The output from this example would show that "Amount Budgeted$" becomes AMOUNT_B and "Amount Spent$" becomes AMOUNT_S.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.