Desktop productivity for business analysts and programmers

VALIDVARNAME=ANY

Reply
Frequent Contributor
Posts: 97

VALIDVARNAME=ANY

On importing the data of an Information Map I get the following warning

55 /* restore the validvarname option */
56 /* NOTE: Might cause a warning if value is VALIDVARNAME=ANY */
57 options &_imapValidVarName;
The SAS System

WARNING: Only Base procedures and SAS/STAT procedures have been tested for use with VALIDVARNAME=ANY. Other use of this option is
considered experimental and may cause undetected errors.


What is this VALIDVARNAME=ANY. is anything wrong with my code.
SAS Super FREQ
Posts: 8,820

Re: VALIDVARNAME=ANY

Hi:
This Tech Support Note explains the VALIDVARNAME option:
http://support.sas.com/kb/14/661.html
You may also be interested in this note about setting the VALIDVARNAME option for use with servers in the BI Platform:
http://support.sas.com/kb/18/750.html

VALIDVARNAME=ANY is usually set automatically by EG because it uses variable names that may have embedded spaces or special characters. The warning doesn't mean you've done anything wrong. It's just means that you have to look at your data and look at the generated code and decide whether VALIDVARNAME is set correctly for your particular situation. If you need help deciding on the correct setting for the VALIDVARNAME option, then your best bet for help is to contact SAS Technical Support.

cynthia

FYI, the possible values for the VALIDVARNAME= option are
-- V7 (default) Allows mixed case, 32 character variable names. Valid characters you can use are alpha, numeric and underscores.
-- UPCASE Allows 32 character variable names, but uppercases the variable names. Valid characters you can use are alpha, numeric and underscores.
-- V6 Version 6 rules apply.
-- ANY Allows variable names to contain special characters. You can use a maximum of 32 characters, stored in mixed case.
Ask a Question
Discussion stats
  • 1 reply
  • 262 views
  • 0 likes
  • 2 in conversation