Chapter Contents |
Previous |
Next |
X |
Valid: | anywhere |
Category: | Operating Environment |
Syntax | |
Without Arguments | |
Arguments | |
Details | |
Comparisons | |
See Also |
Syntax |
X <'operating-environment-command'>; |
Using X without arguments places you in your operating environment, where you can issue commands that are specific to your environment.
Arguments |
Details |
In all operating environments, you can use the X statement when you run SAS in windowing or interactive line mode. In some operating environments, you can use the X statement when you run SAS in batch or noninteractive mode.
Operating Environment Information: The X statement is dependent on your operating environment. See the SAS documentation for your operating environment to determine whether it is a valid statement on your system. Keep in mind:
Comparisons |
The X statement is similar to the SYSTEM function, the X command, and the CALL SYSTEM routine. In most cases, the X statement, X command or %SYSEXEC macro statement are preferable because they require less overhead. However, the SYSTEM function can be executed conditionally. The X statement is a global statement and executes as a DATA step is being compiled.
See Also |
CALL Routine:
| |||
Function:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.