NOTE: Explaining Precision

When teaching the SAS PRG3: Advanced Techniques and Efficiencies course, I always start section 2.2 Controlling Data Set Size with a slight amount of trepidation. My minor apprehension is due to the knowledge that the section includes a discussion on…

SAS Enterprise Guide: Check the Log Macro

I created a LogCheck macro [code provided] to review the log during a batch process. The SAS log files can be rather large and it is so much easier if you can just extract the issues in an easy to understand format. This macro reads in each line of the log file and keeps the ones with Error, Warning, Note, or specific text you want to trap.  Then it sends a colorful email to report what issues (if any) were found. You can download the code and two sample programs to review or change for your situation.  Let me know what you think in the Comments section.  How can the code be improved?  Any ideas you have?   Using the LogCheck Macro Add the LogCheck macro to your batch job to report issues through email about the job.  When the job has no errors, you will receive an email similar to the following.  The subject line indicates no found issues – thus you have some assurance the job was successful. When the job has errors – the macros sends an email similar to the following.  Notice the subject line contains the number of Errors, Warnings, and Notes present in the […]

New certification program: SAS Versions Professional

Today, SAS announces a new addition to its global certification program: you can now become “SAS Versions”-certified. Over the past 36 years, SAS has delivered hundreds of software products to the business analytics marketplace. Each of those products has a version number. As new revisions are released, the combination of […]

OpenCDISC Validator V1.3: An Unboxing Review (1): counting issue

The lasted OpenCDISC Validator version 1.3 was released at 29 March, 2012 (btw, there is a typo in the Line 1 of CHANGELOG.txt within the package: “2012” not “2011”). As usual, you can submit the following SAS scripts to get some basic information(remember to customize your directory): filename CDISC url "https://raw.github.com/Jiangtang/Programming-SAS/master/Rules_Count_OpenCDISC_XML.sas"; %include CDISC; %Rules_Count_OpenCDISC_XML(dir=C:\OpenCDISC1.3\compare\opencdisc-validator_1.3\config) and […]