BookmarkSubscribeRSS Feed
SanjayM
Calcite | Level 5
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.
1 REPLY 1
Cynthia_sas
Diamond | Level 26
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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2147 views
  • 0 likes
  • 2 in conversation