SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
marcuswong
Fluorite | Level 6

Hi SAS Folks,

 

I am a beginner starting to learn SAS and I am using the SAS studio university edition for self learning.

 

I came across SAS studio hinted me OPTION and OPTIONS when I tried to input some codes.

 

May I know if these two global statements are the same?

Thanks!

 

5 REPLIES 5
SASKiwi
PROC Star

Either will work but OPTIONS is the correct statement key word.

marcuswong
Fluorite | Level 6

Thank you for the guidance!

jimbarbour
Meteorite | Level 14

They are the same.

 

Jim

marcuswong
Fluorite | Level 6

Thank you for the advise!

Astounding
PROC Star
SAS attempts to correct spelling errors when reasonable. While you will get a warning message, you could use POTION instead and SAS would figure it out.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 3432 views
  • 3 likes
  • 4 in conversation