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

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

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
  • 2070 views
  • 1 like
  • 4 in conversation