MAILHELP.HLB  —  SPAWN  Qualifiers

1    /INPUT

       /INPUT=file-spec

    Specifies an input file containing one or more DCL command
    strings to be executed by the spawned subprocess. If you specify
    a command string along with an input file, the command string is
    processed before the commands in the input file. Once processing
    is complete, the subprocess is terminated.

2    /LOGICAL_NAMES

       /LOGICAL_NAMES
       /NOLOGICAL_NAMES

    Specifies that the logical names of the parent process are to be
    copied to the subprocess. When you do not want the subprocess to
    use the logical names of the parent process, enter the qualifier
    /NOLOGICAL_NAMES. The default is /LOGICAL_NAMES.

3    /OUTPUT

       /OUTPUT=file-spec

    Identifies the output file to which the results of the SPAWN
    operation are written. Whenever you use the /NOWAIT qualifier,
    you should also use the /OUTPUT qualifier to specify a new
    output destination. Doing so prevents output from being displayed
    while you are specifying new commands. If you omit the /OUTPUT
    qualifier, output is written by default to the current SYS$OUTPUT
    device.

4    /PROCESS

       /PROCESS=subprocess-name

    Specifies the name of the subprocess to be created. The default
    name of the subprocess is USERNAME_n. If the subprocess name
    contains spaces or special characters, or is case-sensitive, then
    the subprocess name must be enclosed in quotation marks.

5    /SYMBOLS

       /SYMBOLS
       /NOSYMBOLS

    Determines whether the system passes DCL global and local symbols
    to the subprocess. The default is /SYMBOLS.

6    /WAIT

       /WAIT
       /NOWAIT

    Controls whether the system waits until the subprocess is
    completed before allowing more commands to be specified. The
    /NOWAIT qualifier allows you to specify new commands while the
    specified subprocess is running. If you specify /NOWAIT, you
    should also use the /OUTPUT qualifier to direct the output stream
    to a file, rather than displaying it on your terminal. Doing so
    prevents your terminal from being used by more than one process
    simultaneously.
Close Help