DISABLE AUTOSTART is a DCL command that disables the autostart feature on a node for all autostart queues managed by the specific queue manager. By default, this command uses the /QUEUES qualifier. Requires OPER privilege. Disabling autostart for queues notifies the queue manager to perform the following tasks on the affected node:
- Mark all autostart queues as "stop pending" in preparation for a planned shutdown.
- Prevent autostart queues from failing over to the node.
- Upon completion of any jobs currently executing on one of the node's autostart queues, force the queue to fail over to the next available node in a queue's failover list (if any) on which autostart is enabled. (For information on failover lists for autostart queues, see the /AUTOSTART_ON qualifier for the INITIALIZE/QUEUE command.) Autostart queues on the node that do not have a failover list, or for which no failover node is enabled for autostart, are stopped upon completion of any current jobs. These stopped queues remain activated for autostart. The queue manager will restart these stopped autostart queues when the ENABLE AUTOSTART command is entered for the affected node or a node to which the queue can fail over. By default, the command affects the node on which it is entered. Use the /ON_NODE qualifier to disable autostart on a different node. On VAX systems by default, the command affects autostart queues managed by the default queue manager, SYS$QUEUE_MANAGER. Specify the /NAME_OF_MANAGER qualifier to disable autostart of a different queue manager's autostart queues on the node. The DISABLE AUTOSTART/QUEUES command is included in the node shutdown command procedure SHUTDOWN.COM. If you shutdown a node without using SHUTDOWN.COM, and the node is running autostart queues, you might want to enter the DISABLE AUTOSTART/QUEUES command first. The DISABLE AUTOSTART/QUEUES command only affects autostart queues.