What are you looking for?

PowerS(h)elling SAS

January 08, 2021
Download now

Windows PowerShell is a scripting language developed by Microsoft that comes pre-installed on every Windows system (post-Windows 7 SP1). It is mainly used to automate operating system tasks. The preferred application for developing tools in this way is the Integrated Scripting Environment (ISE).

PowerShell allows us to launch programs using the command line. This enables the batching of SAS programs and the use of -SYSPARM functionality, which is already available in SAS. -SYSPARM allows information to be passed from the command line to the SAS environment and, at the other end, SAS can also provide a return code when it finishes. A key advantage of this system is that the actual processing is still being executed in the validated SAS environment.

PowerShelling SAS 344px

News & Insights

  • SGS Life Science Services

1 Place des Alpes,

P.O. Box 2152, 1211,

Geneva, Switzerland