In MP Prism, waits for a process or processes to stop execution.
wait [every | any] [pset set_name | set_definition]
The wait command is available only in MP Prism.
Use the wait command to tell Prism to wait for the specified process or processes to stop execution before accepting commands that affect other processes (for example, commands that start or stop execution). A process is considered to have stopped if it has entered the done, break, interrupted, or error state.
This command can take a pset qualifier. If used with a qualifier, it applies to the pset you specify. If used without a qualifier, it applies to the current pset. See " Using Pset Qualifiers" for more information on pset qualifiers.
Use the form wait or wait every to wait for every process in the pset to stop execution. wait every is the default.
Use the form wait any to wait for any process in the pset to stop execution.
You can end the wait by doing one of the following
Typing Ctrl-c; this does not affect processes that are running.
Choosing (in graphical Prism) the Interrupt selection from the Execute menu; this stops processes that are running, as well as ending the wait.