Hello,
I am curious about the behavior of syntax highlighting in the SAS log with nested %include statements.
When I run an %include statement which calls a single program directly, and there is an error within the program, the SAS log with show/display the ERROR in both the log summary and it will be red within the log itself.
However, if I run an %include statement which calls a program that contains %include statements, and there is an error within the second included program, the SAS log DOES NOT show the ERROR in the log summary and it is NOT colored red in the sas log.
I have these options set when running both the single and nested %include statements:
OPTIONS MSGLEVEL=i PRINTMSGLIST DETAILS DATE LINESIZE=max FULLSTIMER VALIDVARNAME=v7 SOURCE2 ;
I do not understand the reason for this dual behavior and am hoping someone might be able to help. Thank you!
Colour coding and the log summary are controlled by EG itself. I'd suggest upgrading to EG 8.3 Update 7 (the latest) and see if you get the same problem.
Thank you for the reply, it is appreciated!
Unfortunately, like many corporate users, I have no control over the version of SAS/EG that I am using, and given it took years to get to 9.4m7 and EG 8.3 Update
3, I cannot count on that happening in my lifetime (lol 😂)
So the "Check for Updates" EG menu option is disabled then 🤞?
Is that an option under the 'help' menu?
Yes, if you are using EG 8 and it hasn't been disabled:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.