X Command: Windows

Enters operating environment mode or enables you to submit a Windows command without ending your SAS session.

Windows specifics: valid values for command syntax


X <'command '> ;

Without Arguments

open a DOS command window.

Optional Argument


specifies the command that you want to execute.


This form of the X command issues one command. The command is passed to the operating environment and executed. If errors occur, the appropriate error messages are displayed.