Sometimes there's a need to stop all processing in a Client for a Maintenance period. The Script function MODIFY_SYSTEM is one way to automate stopping the Queues in a Client.
Documentation for MODIFY_SYSTEM Script Function:
Create a Script Object that stops all the Queues:
:SET & RET# = MODIFY_SYSTEM("MODE", "QUEUE.JOBS", "STOP")
:IF& RET# = "0"
: PRINT"Processing the Queue object QUEUE.JOBS has successfully been inactivated."
: PRINT"QUEUE.JOBS: Error when changing the status to STOP."
This will need to be done for each Client, and all QUEUES in that Client.
To start the Queues, run the same script and change STOP to GO.