Date Added: Mar 2010
SAS global macro variables and operating system environment variables contain a wealth of information that can be used to add extra power to the SAS programs. This information can be used to add additional diagnostic information to one's logs and add customization to reports. The paper will demonstrate a simple program to access all current operating system variables. It will describe some of the most common variables and suggest how they might be used. As an added bonus, the paper will show how to define SAS LIBNAMEs without writing a single line of SAS code.