Define Process Manual

Define Process Command
2-2 131360— Define Process Manual
Process Definition Commands
Define Process Command
The Define Process (DP) command defines a background process and enters the run
parameters of the process in the Define Process directory. The DP command also starts
the process. You have the option of defining the process, and not starting it, by using the
NOSTART option (see NOSTART later in this section).
program-file
is the name of the file containing the object program to be run. Partial file names are
expanded using the current TACL search list.
option
is any of the following options:
CPU cpu-number
assigns the CPU number of the processor where the defined process is to
execute. Specify cpu-number as an integer in the range 0 through 15. If you
omit this option, the defined process executes in the same processor as your
TACL, unless a $CMON dictates otherwise. (See the Guardian Programmer’s
Guide for information about $CMON processes.)
UNDP Removes a background process.
WAIT Displays accumulated output from a background process and waits for the
process to prompt for more input.
WAITREADY Waits for a background process to prompt for more input.
Caution. You retain your local system and volume environment when you use Define Process,
so make sure you use appropriate SYSTEM and VOLUME commands wherever necessary to
avoid device location mistakes.
You should also be aware that Define Process does not do echo suppression to terminals. For
example, when you log on and use PS MAIL, you normally do not see your password echoed
back to the terminal; however, if you run PS MAIL as a defined process, your password is
echoed on the terminal. This could be a security problem.
Note. TACL must be a named process in order for you to use the DP command.
DP program-file [ / option [ , option ]... / ]
[ param-string ]
Table 2-1. Define Process Commands (page 2 of 2)
Command Description