SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mava
Obsidian | Level 7

Good Evening, 

 

I am studying for the above exam.  W/in my 20 yrs of using SAS, I never had to use the VALIDVARNAME option. 

 

I am stuck on this section in the 5th Edition of the Review book.  And have some questions. 

 

1.  If anyone took the exam, do they ask about every VALIDVARNAME option? 

 

2.  What is the difference between VALIDVARNAME and VALIDMEMNAME?

 

I need to get beyond this.   I looked stuff up, but need the 2nd question answered in simple - very simple terms.  

 

 

Thank you, MaVA

 

1 ACCEPTED SOLUTION

Accepted Solutions
japelin
Rhodochrosite | Level 12

1. I don't remember. 

But it seems that the questions are not the same every time, so they may or may not come up.

 

2.The VALIDVARNAME=system option specifies the rules for valid SAS variable names, and
VALIDMEMNAME=system option specifies the rules for naming SAS data sets, SAS data views, and item stores.

 

This might make it easier to understand.

- VALIDVARNAME -> Valid Var Name -> Valid Variable Name

- VALIDMEMNAME -> Valid Mem Name -> Valid Member Name

 

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/p124dqdk8zoqu3n1r4nsfqu5vx52.htm 

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/n10nwm6blrcrtmn0zdcwyxlwxfjh.htm 

 

View solution in original post

1 REPLY 1
japelin
Rhodochrosite | Level 12

1. I don't remember. 

But it seems that the questions are not the same every time, so they may or may not come up.

 

2.The VALIDVARNAME=system option specifies the rules for valid SAS variable names, and
VALIDMEMNAME=system option specifies the rules for naming SAS data sets, SAS data views, and item stores.

 

This might make it easier to understand.

- VALIDVARNAME -> Valid Var Name -> Valid Variable Name

- VALIDMEMNAME -> Valid Mem Name -> Valid Member Name

 

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/p124dqdk8zoqu3n1r4nsfqu5vx52.htm 

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/n10nwm6blrcrtmn0zdcwyxlwxfjh.htm 

 

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1 reply
  • 533 views
  • 0 likes
  • 2 in conversation