The name of the Operating System, OS, is stored in the automatic SAS macro variable &SYSSCP.
Thanks to Art Carpenter and Mary Rosenbloom for this tip. Read more details in this paper from WUSS 2017: I've Got to Hand It to You: Portable Programming Techniques.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Register now!