Chapter Contents

Previous

Next
SAS Companion for the OpenVMS Operating Environment

Running SAS in a SPAWN/NOWAIT Subprocess

The SPAWN= system option enables you to run the SAS System 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, the SAS System assumes the terminal cannot be used to take input from the user. Therefore, the SAS System will not run in interactive line mode or in the windowing environment using the terminal-based windowing environment if you do not specify /DMS or /EXPLORER. You can, however, run the SAS System in batch mode, or invoke SAS under the Motif interface, as shown in the following SAS commands:

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

$ SPAWN/NOWAIT SAS8/SPAWN=NOWAIT/EXPLORER

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

For details about invoking the SPAWN= system option, see SPAWN=.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.