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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1175 views
  • 1 like
  • 4 in conversation