BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sharathr
Obsidian | Level 7
Hi forum,

I have used the options statement like below and trying to turn the option to default.
Options validvarname=upcase;
1 ACCEPTED SOLUTION

Accepted Solutions
ed_sas_member
Meteorite | Level 14

Hi @Sharathr 

 

if it is just this option that you want to reset, the default setting is:

OPTIONS VALIDVARNAME = V7

View solution in original post

5 REPLIES 5
PeterClemmensen
Tourmaline | Level 20

Just that option or all options?

Sharathr
Obsidian | Level 7
I would like to reset the specific option alone
PeterClemmensen
Tourmaline | Level 20

The default is

 

options validvarname=v7;

You can read that in the Doc

andreas_lds
Jade | Level 19

In a data step, you can use the function getOption to retrieve the initial value of an option, see https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=lefunctionsref&docsetTarg... for details.

ed_sas_member
Meteorite | Level 14

Hi @Sharathr 

 

if it is just this option that you want to reset, the default setting is:

OPTIONS VALIDVARNAME = V7

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 5 replies
  • 2225 views
  • 1 like
  • 4 in conversation