BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Haris
Lapis Lazuli | Level 10

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

1 ACCEPTED SOLUTION

Accepted Solutions
CaseySmith
SAS Employee

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

View solution in original post

4 REPLIES 4
Haris
Lapis Lazuli | Level 10

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?

CaseySmith
SAS Employee

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

Haris
Lapis Lazuli | Level 10

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?

Haris
Lapis Lazuli | Level 10
Aha, found it. When I open the *.LOG file in SEG, only Save, Publish (grayed out) and Properties options are on the tool bar above the text. However, I can open the Log Summary via View|Log Summary pull-down menu.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1463 views
  • 1 like
  • 2 in conversation