Skip to main content
Version: Next

PAUSE PROCESS

PAUSE PROCESS ( process )

ParameterTypeDescription
processIntegerProcess number

Description

PAUSE PROCESS suspends the execution of process until it is reactivated by the RESUME PROCESS command. During this period, process does not take any time on your machine. Even though a process may be paused, the process is still in memory.

If process is already paused, PAUSE PROCESS does nothing. If the process has been delayed using the DELAY PROCESS command, the process is paused. RESUME PROCESS resumes the process immediately.

While process execution is suspended, the windows belonging to this process are not enterable. In this case, to avoid confusing the user, consider hiding the process. If process does not exist, the command does nothing.

Warning: Use PAUSE PROCESS only in processes that you have started. It will not affect the main process.

Note: You cannot use this command to assign a stored procedure on the server machine from a client machine (process<0).

See also

ABORT PROCESS BY ID
DELAY PROCESS
HIDE PROCESS
RESUME PROCESS

Properties

Command number319
Thread safe