Define Process Manual

Process Definition Commands
Define Process Manual —131360 2-5
Define Process Command
the process. The current history number (surrounded by hyphens) appears to the
left of the prompt of the process.
NOSTART
disallows starting the process after the process is defined. The process is started
automatically when the first command is sent to the process or when you issue a
PSTART command to it.
NOWAIT
sets that the default mode for commands to the process is NOWAIT. If you omit
this option, the default mode is WAIT.
PNAME process
assigns a unique symbolic name to the defined process. This is different from
the NonStop Kernel $process-name. Use this name to access the process once it
is defined. The name you choose should not coincide with the name of a
variable you have pushed with #PUSH. If this option is omitted, DP assigns the
name of the program file name to the defined process. The process name can be
1 to 32 characters long.
PREPARSE macro-name
defines the name of a macro that parses each command line before it is sent to
the process. The macro is passed the name of the defined process in the variable
:dpprocess, and the text of the command in the variable :dpcommand. The
macro that was parsed can scan the typed command, alter it, mask it, or provide
other services.
PRI priority
sets the execution priority of the defined process. If you omit this option, the
defined process is given a priority of your current TACL, less one (unless a
$CMON process dictates otherwise). Refer to the Guardian Programmer’s
Guide for information about $CMON processes. Specify priority as an integer
in the range 1 through 199.
QUICK
forces future PSTART commands to not wait while the process starts up, and
returns a command input prompt after sending the startup message to the
defined process. Normally, PSTART waits for the process to prompt before
completing.
This option also causes the banner of the process, if present, to show up in the
output variable of the process after startup. If this is a problem, use the TOSS
command to clear the output queue before running the process.