The script does not process external or SASHELP data. It creates a directory on the file system to use as the location for a temporary SAS library.
1 Code Block
Macro Data
Explanation : This block defines the MakeTEMPWORK macro. It initializes a local variable 'rc' to store the result of the file/directory existence check. If 'c:\tempwork' does not exist, the system command 'md' is executed to create it, which is an administrative operation. Then, the SAS library 'tempwork' is assigned to this new directory. The use of %sysexec makes this script operating system dependent (here Windows) and gives it an administrative role.
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.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.