XSYNC System Option: Windows

Controls whether an X command or statement executes synchronously or asynchronously.

Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Environment Control: Display
PROC OPTIONS GROUP= ENVDISPLAY
Default: XSYNC
Windows specifics: all

Syntax

Syntax Description

XSYNC

specifies that the operating system command execute synchronously with your SAS session. That is, control is not returned to SAS until the command has completed. You cannot return to your SAS session until the process spawned by the X command or statement is closed. XSYNC is the default.

NOXSYNC

specifies that the operating system command execute asynchronously with your SAS session. That is, control is returned immediately to SAS and the command continues executing without interfering with your SAS session. With NOXSYNC in effect, you can execute an X command or X statement and return to your SAS session without closing the process spawned by the X command or X statement.

Details

The value of the XSYNC system option affects the execution of the following:
  • X statement
  • X command
  • CALL SYSTEM routine
  • %SYSEXEC statement.