As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Best Practices: PUT More Errors and Warnings in My Log, Please

From sasCommunity
Jump to: navigation, search

Mary Rosenbloom Edwards Life Sciences
Kirk Lafler Software Intelligence Corporation

Abstract

We all like to see a SAS® log that is free from errors and warnings, but did you know that you can add your own errors and warnings to the log with PUT statements? Not only that, but you can incorporate this technique into your regular coding practice to check for unexpected data values. This paper will explore the rationale and process of issuing user - created error and warning messages to the SAS log, along with a number of examples to demonstrate when this is useful. Finally, we will propose an upgrade to the next version of SAS involving a user - specified keyword with its own color in the log.

Online Materials

View the pdf for Best Practices: PUT More Errors and Warnings in My Log, Please!.

Contact Info

Feel free to contact us at my discussion page.