New SAS User

Completely new to SAS or trying something new with SAS? Post here for help getting started.
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Espresso
Obsidian | Level 7

New to SAS, I would like output keywords, basically any restricted word in uppercase by default.

In my Enterprise Guide 7.11 the Autocompletion lists choices in uppercase but they are added in lowercase.

Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Espresso
Obsidian | Level 7

Thanks SASKiwi, I just discovered that if I start typing uppercase, then selecting from autosuggest actually follows the same case and it is added as uppercase. Don't know if this will work for autosuggest on the other objects, will see.

View solution in original post

4 REPLIES 4
SASKiwi
PROC Star

As far as I'm aware there is no automated way to do this but you can do it yourself by selecting the key word with your mouse then use the key combinations <Ctrl> <Shift> U for uppercase or L or lowercase.

 

BTW there is no such thing as a "standard" SAS coding style. Most prefer lowercase key words, some like mixed case, and some like uppercase like you.

Espresso
Obsidian | Level 7

Thanks SASKiwi, I just discovered that if I start typing uppercase, then selecting from autosuggest actually follows the same case and it is added as uppercase. Don't know if this will work for autosuggest on the other objects, will see.

SASKiwi
PROC Star

@Espresso - Good to hear this works and I've learnt something new! Personally I have autocomplete switched off as I find it sometimes gets in the way. Great for those learning SAS syntax though.

Tom
Super User Tom
Super User

I don't think that SAS has restricted words.

1620  data if;
1621    end=2;
1622    by=2*end;
1623  run;

NOTE: The data set WORK.IF has 1 observations and 2 variables.

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!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 2517 views
  • 0 likes
  • 3 in conversation