Have you ever needed to run code based on the client application that you are using? Or have you needed to know the version of SAS® software that you are running and the operating system that you are running it on? This blog post describes a few automatic macro variables that can help with gathering this information.
http://blogs.sas.com/content/sgf/2016/10/21/macro-variables-that-provide-information-about-your-sas-...