SAS Enterprise Guide: Identifying Errors in the Log
In an earlier post, I provided a check log program that you could use with your batch jobs. There was some really interesting discussions in the Comments about using SAS Enterprise Guide with the log. Here’s some tips I have for working with the SAS Enterprise Guide logs – everything from some quick tips to changing the style.
Cruising the SAS EG Log
When you run a program in SAS EG, if there are issues then a red x appears on the Program icon (1) and the Log pane (2) becomes the focus, as shown in the following figure. When you log has error or warning messages, you can use the arrows (3) to move to the next or return to the last – this is convenient especially when the log stretches from here to Saturn’s inner most rings. As you click the arrow – each error or warning message becomes the focus.
Adding Some Swagger to Your Log
Does your log lack umph? Lacking style? Got no swagger? Why not dress up the messages so they are identified a little easier? From the Tools > Options window do the following:
- Select SAS Programs from the list. The panel changes to the SAS Programs.
- Select Editor Options to display the Enhanced Editor Options window.
- Select Appearance. From here you can change the way the SAS program and SAS Log file settings display.
To change your SAS Log File appearance, do the following:
- Select SAS Log File from the File type drop-down.
- From the File elements list, select Error. Use the Foreground, Background, and Font Style options to change how the Error Message appears. I like adding the Bright Yellow background with Red letters because you cannot miss it.
- Save the changes. You can edit the settings for other items, such as the Warning message. Go ahead – play around til you find something really tacky to annoy your co-workers when they are looking over your shoulder.
Note: I am using SAS EG 4.3 – however, I think the color changing is available with BASE SAS as well.
Never miss a post!Get the latest BI Notes post in your Inbox when a new post is released! Click here for free subscription. You email address is kept private and you can unsubscribe anytime. Go ahead ... join us!
Latest posts by Tricia Aanderud (see all)
- Can SAS Visual Analytics Replace PowerPoint for a Small Business? - November 11, 2013
- User Groups: SESUG in St Pete Beach was Great! - October 27, 2013
- Data Management: Who cares about Big Data - October 18, 2013
- Data Visualization: How to Avoid an Epic Fail - October 10, 2013
- Dashboards: Review of Information Dashboard Design Second Edition - September 23, 2013