Published on :
Administration CREATION_INTERNE

Opening FSP help via Windows system command

This code is also available in: Deutsch Español Français
Attention : This code requires administrator privileges.
The script uses the %sysget macro function to read the 'systemroot' and 'sasroot' environment variables. It then constructs a system command (X command) to launch Windows Explorer and open a help file (.chm). Warning: This code is specific to a Windows environment and will not work on a standard SAS© Viya 4 architecture hosted on Linux.
Data Analysis

Type : CREATION_INTERNE


No data table manipulation. Use of environment variables.

1 Code Block
X COMMAND
Explanation :
Definition of macro-variables based on the environment and execution of a system command to open FSP help.
Copied!
1%let systemroot=%sysget(systemroot) ;
2%let sasroot=%sysget(sasroot) ;
3x "&SystemRoot\explorer.exe ms-its:&sasroot\core\help\fsp.chm::/fsp.hlp/a000007097.htm" ;
4 
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.