Technical data

System Dump Analyzer
SPAWN
SPAWN
Creates a subprocess of the process currently running SDA, copying the context
of the current process to the subprocess and, optionally, executing within the
subprocess a specified command.
Format
SPAWN [/qualier[,...]] [command]
Parameter
command
Name of the command that you want executed by the subprocess.
Qualifiers
/INPUT=filespec
Specifies an input file containing one or more command strings to be executed
by the spawned subprocess. If you specify a command string with an input file,
the command string is processed before the commands in the input file. Once
processing is complete, the subprocess is terminated.
/NOLOGICAL_NAMES
Specifies that the logical names of the parent process are not to be copied to the
subprocess. The default behavior is that the logical names of the parent process
are copied to the subprocess.
/NOSYMBOLS
Specifies that the DCL global and local symbols of the parent process are not
to be passed to the subprocess. The default behavior is that these symbols are
passed to the subprocess.
/NOTIFY
Specifies that a message is to be broadcast to SYS$OUTPUT when the subprocess
completes processing or aborts. The default behavior is that such a message is
not sent to SYS$OUTPUT.
When you use this qualifier, you must also specify the /NOWAIT qualifier.
/NOWAIT
Specifies that the system is not to wait until the subprocess is completed before
allowing more commands to be specified. This qualifier allows you to specify new
commands while the spawned subprocess is running. If you specify /NOWAIT, you
should use /OUTPUT to direct the output of the subprocess to a file to prevent
more than one process from simultaneously using your terminal.
The default behavior is that the system waits until the subprocess is completed
before allowing more commands to be specified.
/OUTPUT=filespec
Specifies an output file to which the results of the SPAWN operation are written.
You should specify an output other than SYS$OUTPUT whenever you specify
/NOWAIT to prevent output from the spawned subprocess from being displayed
while you are specifying new commands. If you omit the /OUTPUT qualifier,
output is written to the current SYS$OUTPUT device.
SDA183