Runs an operating system command or a Windows application from within a SAS session.
Valid in: | anywhere in a SAS program |
Windows specifics: | Valid values for command |
See: | X Statement in SAS Statements: Reference |
specifies a Windows command or a Windows application. This argument can be anything that you can specify at a DOS prompt (including the SAS command). Therefore, you can use the X statement to execute Windows applications. The command can be enclosed in quotation marks, but this syntax is not required.