I like the way SEG Log Summary creates hyperlinks for Errors, Warnings, and Notes. Is there a way to get that functionality of at least part of it with a SAS log that has been saved as a text file?
Thanks,
Haris
If you save the log with a .log extension, then add the .log file to an EG project, the Log Summary view will be displayed and will summarize the log. When you select an error, warning, or note in the Log Summary view, the corresponding line in the log will be selected, same as for logs generated within the project.
However, there are a couple differences from a log generated within the project...
1) The ERRORs, WARNINGs, and NOTEs in the log aren't currently colored (red, blue, and green).
2) The "Go to Program Source" and "Go to Log Source" menu items are disabled. (I expect the "Go to Program Source" menu item to be disabled, since no linked program in this case, but was expecting "Go to Log Source" to still be enabled.
If the log was saved with a .txt extension, EG opens it as a plain text file (doesn't realize it is a log), thus Log Summary view not shown. It would be nice if EG offered an "open as log" option, so user could explicitly tell EG to open it as a log.
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
I like the way SEG Log Summary creates hyperlinks for Errors, Warnings, and Notes. Is there a way to get that functionality of at least part of it with a SAS log that has been saved as a text file?
If you save the log with a .log extension, then add the .log file to an EG project, the Log Summary view will be displayed and will summarize the log. When you select an error, warning, or note in the Log Summary view, the corresponding line in the log will be selected, same as for logs generated within the project.
However, there are a couple differences from a log generated within the project...
1) The ERRORs, WARNINGs, and NOTEs in the log aren't currently colored (red, blue, and green).
2) The "Go to Program Source" and "Go to Log Source" menu items are disabled. (I expect the "Go to Program Source" menu item to be disabled, since no linked program in this case, but was expecting "Go to Log Source" to still be enabled.
If the log was saved with a .txt extension, EG opens it as a plain text file (doesn't realize it is a log), thus Log Summary view not shown. It would be nice if EG offered an "open as log" option, so user could explicitly tell EG to open it as a log.
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
That's great news; however, I must be doing something wrong. When I drag-and-drop a *.log file to SEG 7.13, I get a text file without any Log Summary options. What am I missing?
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.