- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.