Script Tip - Stopping all Queue during a Maintenance Period

Discussion created by Jennifer_Jinhong_34 on Jul 28, 2014
Latest reply on Jan 20, 2015 by ChrisReece609782
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:

: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.