Previous Page | Next Page

System Options under OpenVMS

DETACH System Option: OpenVMS



Specifies that the asynchronous host command uses a detached process.
Default: DETACH
Valid in: configuration file, SAS invocation, VMS_SAS_OPTIONS DCL symbol
Category: Environment control: Initialization and operation
PROC OPTIONS GROUP= EXECMODES
OpenVMS specifics: all

Syntax
Details

Syntax

DETACH | NODETACH

DETACH

specifies to use a detached process for asynchronous commands. This is the default.

NODETACH

specifies that the asynchronous host command uses a subprocess.


Details

The user's LOGIN.COM automatically executes when a detached process starts. Therefore, the symbols and logical names that are defined in LOGIN.COM are also defined for the detached process.

When launched, the detached process will execute the DCL command procedure that is pointed to by the SAS$DETACH_TEMPLATE logical name, if it is defined. You can use this DCL command procedure to define the symbols and logical names that are needed by the detached process, because they are not automatically inherited from the process that is running SAS. A sample command procedure can be found in SAS$ROOT:[MISC.BASE]DETACH_TEMPLATE.COM. To execute a DCL command procedure when the detached process is launched, complete the following steps:

  1. Edit the command procedure to contain any needed DCL commands.

  2. Issue the following DCL command before invoking SAS:

    $ DEFINE SAS$DETACH_TEMPLATE SAS$ROOT:[MISC.BASE]DETACH_TEMPLATE.COM

Previous Page | Next Page | Top of Page