BookmarkSubscribeRSS Feed
PeterKellberg
Obsidian | Level 7

Hi all,

 

EG has a neat feature "Log Summary" where you can filter the log to see maybe only the errors:

Screen Shot 11-15-17 at 02.07 PM.PNG

There are however some NOTES: that (maybe) should get attention:

 

 

  • variable XXX is uninitialized
    • often (but not always) a misspelled variable name
  • The data set XXX has 0 observations
    • An issue if you expect one or more obs
  • There were 0 observations read ...
    • Same
  • The data set XXX has 0 variables
    • A dataset without variables?
  • Invalid numeric data,
    • SAS gets text where numeric data is expected
  • Invalid argument to function
    • for many reasons
  • Mathematical operations could not be performed
    • several reasons
  • values have been converted to
    • implicit type conversion - is it OK with you?
  •  MERGE statement has more than one data set with repeats
    • duplicate keys on more than one dataset (unpredictable results) 

Would it be foolish to suggest a new group fx. "Attentions" that highlighted the NOTES mentioned above?

 

EG attentions.png

 

10 years ago we developed a SAS Macro "LogSummary" that can be used in the SAS Display Manager (SAS Classic) and in batch-mode. It gives you an overview of problems in the log including the suspicious NOTES. Users transitioning to Enterprise Guide simply misses that feature.

 

Regards,

Peter

6 REPLIES 6
CaseySmith
SAS Employee

Hi Peter,

 

I like your suggestion.  I can certainly see how it would be useful.

 

Since we probably wouldn't be successful at hard-coding everything all users would be interested in, I was thinking we might even be able to take it a step further and provide full flexibility by allowing users to define one or more custom searches.

 

For example:

The existing Errors, Warnings, and Notes toggle buttons would be built-in (always present), but then there could be a '+' icon to the right of those that when clicked would add a new custom toggle button to the end for which you would define a label and a search criteria (ex. regular expression).  The custom search would behave the same as the built-in ones for Errors, Warnings, and Notes, but would return log lines that match the user-specified search criteria instead.  You could click the '+' icon again to define additional custom searches/toggle buttons.

 

Would that sufficiently meet your needs?  (It would require you to define your desired custom searches.  Although, perhaps we could have some presets (like the ones you mentioned above) to choose from when defining a new custom search.)

 

Thanks for the feedback!

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

PeterKellberg
Obsidian | Level 7

Hi Casey,

 

Sounds like a great idea - I like it. More flexible that way. All labels and a search criterias should then be stored in the egoptions or some other XML file. That will make it easier distribute a standard setting to our potential 200 EG Users in Statistics Denmark.

 

"Although, perhaps we could have some presets (like the ones you mentioned above) to choose from when defining a new custom search.)" - agree 😉

 

Thank you for your attention, Casey.

 

Kindly,

 

Peter

 

 

 

 

admuresan
Calcite | Level 5

This is an awesome idea, and I have been trying to find a way to do this as I came across this post.

 

Was this implemented?

PeterKellberg
Obsidian | Level 7

Hi,

As for EG version 7.15 - nope it is not. Does anyone of you by any chance know if the log from a program in EG resides in a file?

Regards, Peter

andreas_lds
Jade | Level 19

@PeterKellberg wrote:

Hi,

As for EG version 7.15 - nope it is not. Does anyone of you by any chance know if the log from a program in EG resides in a file?

Regards, Peter


The Enterprise-Guide-Project-Files are just zips with funky file-extension. So you could unzip them, but of course not while the project is in use. Redirecting the log is possible, but then the log-tab in EG remains empty if done - not that useful.

CaseySmith
SAS Employee

It is still on our list for future consideration, but no, it has not been implemented yet, and will not be in our next release (EG 8.1).

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 6 replies
  • 1838 views
  • 5 likes
  • 4 in conversation