BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
SASdevAnneMarie
Rhodochrosite | Level 12

Hello Experts,

 

I'm wondering why sometimes the code sas is in red, but code is working.

 

Capture d’écran 2026-03-07 194735.png

Thank you for your help!

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

The folks maintaining the code coloring don't seem to get all the options added when they are added to the procedures. So the red indicates a "not found" condition in the code coloring files. 

Pretty much every update since the code coloring for errors was added seems to miss something. Since some of the places where the most changes have occurred related to graphic or ods output those seem to have more issues depending on version and procedure.

 

If these seriously bother you the SAS Fondation/Base SAS/ Display Manager tools you can fake add them to a "user defined keyword" and have them appear as normal code. Tools>options>enhanced editor options>appearance. Scroll down in the "file elements" box to se the "user defined keyword" and set the text appearance options. Go the  Enhanced Editor Options General tab and click on the "User define keyword" to bring up a box where you can Add user defined keywords for recognition.

 

 

View solution in original post

1 REPLY 1
ballardw
Super User

The folks maintaining the code coloring don't seem to get all the options added when they are added to the procedures. So the red indicates a "not found" condition in the code coloring files. 

Pretty much every update since the code coloring for errors was added seems to miss something. Since some of the places where the most changes have occurred related to graphic or ods output those seem to have more issues depending on version and procedure.

 

If these seriously bother you the SAS Fondation/Base SAS/ Display Manager tools you can fake add them to a "user defined keyword" and have them appear as normal code. Tools>options>enhanced editor options>appearance. Scroll down in the "file elements" box to se the "user defined keyword" and set the text appearance options. Go the  Enhanced Editor Options General tab and click on the "User define keyword" to bring up a box where you can Add user defined keywords for recognition.

 

 

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore 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
  • 366 views
  • 1 like
  • 2 in conversation