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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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