About CheckLog‎ > ‎Subscribe‎ > ‎Updates‎ > ‎

Update to CheckLog

posted Apr 3, 2012, 8:22 AM by Chris S.   [ updated May 22, 2012, 9:22 AM ]
A new version of the CheckLog macro is available for download.

In this version, there were several changes and a new argument added. First, I identified an issue with long filenames and fixed it by switching from PROC PRINTTO to a data set.

Second, I added the capability to search subdirectories for logs using the DirList macro program. I had originally used DirList to do any listing, but in order to support other operating systems, I removed it. So unfortunately the capability to search subdirectories is limited to Microsoft Windows. Along with this feature came a new argument, SUBDIR=, which is a Y/N flag to indicate whether to search subdirectories, defaulted to N.

Next, I converted the DM POSTMESSAGE statements to the MessageBox API for Windows users. This helps CheckLog run better when used in Enterprise Guide. Speaking of Enterprise Guide, there are some limitations with CheckLog when used in EG, which I documented further on a new page.

Lastly, I added an exclusion for the warning received when opening multiple SAS sessions without locking the user profile. This is really a false positive most of the time, and it's not necessary to alert the user or halt a program if it occurs.


For more documentation, go to
http://sas.cswenson.com/checklog/, or if you have any questions, please feel free to contact me.