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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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