Previous Page | Next Page

Getting Started with SAS under OpenVMS

Running SAS in a SPAWN/NOWAIT Subprocess

The SPAWN= system option enables you to run SAS in a SPAWN/NOWAIT subprocess. This method of running SAS is similar to batch mode if you do not specify /DMS or /EXPLORER. The only difference is that in batch mode, SAS runs in its own process rather than in a spawned subprocess.

When you specify SPAWN=NOWAIT in the SAS command and do not specify /DMS or /EXPLORER, SAS assumes the terminal cannot be used to take input from the user. Therefore, SAS will not run in interactive line mode if you do not specify /DMS or /EXPLORER. You can, however, run SAS in noninteractive mode, or invoke SAS under the Motif interface, as shown in the following SAS commands:

$ SPAWN/NOWAIT SAS92/SPAWN=NOWAIT MYFILE.SAS

$ SPAWN/NOWAIT SAS92/SPAWN=NOWAIT/EXPLORER

$ SPAWN/NOWAIT SAS92/SPAWN=NOWAIT/DMS

Attention-handling is disabled if you are running SAS with SPAWN=NOWAIT in effect. Thus, to terminate the subprocess running SAS, use the STOP DCL command.

For information about invoking the SPAWN= system option, see SPAWN= System Option: OpenVMS.

Previous Page | Next Page | Top of Page