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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 2985 views
  • 0 likes
  • 3 in conversation