Desktop productivity for business analysts and programmers

Can I import a previously saved SAS Log back into SEG and get the Log Summary to work with it

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 102
Accepted Solution

Can I import a previously saved SAS Log back into SEG and get the Log Summary to work with it

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


Accepted Solutions
Solution
‎01-25-2017 02:12 PM
SAS Super FREQ
Posts: 271

Re: Can I import a previously saved SAS Log back into SEG and get the Log Summary to work with it

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.

View solution in original post


All Replies
Frequent Contributor
Posts: 102

Can I import a previously saved SAS Log back into SEG and get the Log Summary to work with it

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?

Solution
‎01-25-2017 02:12 PM
SAS Super FREQ
Posts: 271

Re: Can I import a previously saved SAS Log back into SEG and get the Log Summary to work with it

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.

Frequent Contributor
Posts: 102

Re: Can I import a previously saved SAS Log back into SEG and get the Log Summary to work with it

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?

Frequent Contributor
Posts: 102

Re: Can I import a previously saved SAS Log back into SEG and get the Log Summary to work with it

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.
☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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