NET/MASTER Management Services (MS) System Management Guide

Managing NCL Queues
Customizing the Operations Environment
5–24 115414 NonStop NET/MASTER MS System Management Guide
The following example illustrates how the global execution limit is applied locally to
each NCL processing environment that sends NCL processes to an NCL queue:
Suppose that you create an NCL queue called ABC with an execution limit of 1 by
using the following command:
NCLQUEUE SET=ABC LIMIT=1
Suppose that USER1 opens one OCS window (which has a primary processing
environment associated with it). USER1 sends three long-running NCL processes
(PROC1, PROC2, and PROC3) to the NCL queue ABC. PROC1 begins execution
immediately while the other NCL processes are queued.
Additionally, suppose that USER2 simultaneously opens one OCS window. USER2
sends five long-running NCL processes (PROCA, PROCB, PROCC, PROCD, and
PROCE) to the NCL queue ABC. PROCA begins execution immediately while the
other NCL processes are queued.
Thus, PROC1 and PROCA begin execution concurrently from NCL queue ABC
because they are sent to the NCL queue from different NCL processing environments.
Suppose that you change the execution limit from 1 to 3 by using the following
command:
NCLQUEUE SET=ABC LIMIT=3
PROC1 and PROCA continue to execute; PROC2, PROC3, PROCB, and PROCC begin
to execute; and PROCD and PROCE remain queued.
Resetting an NCL Queue Use the NCLQUEUE RESET command to delete an NCL queue. You can specify
whether to execute or delete NCL processes currently waiting to execute in the queue.
NCL processes sent to the queue and currently executing continue to execute.
The following example deletes a queue called ABC, specifying that all NCL processes
in the queue are to be purged when the queue is deleted:
NCLQUEUE RESET=ABC PURGE=YES
The following example deletes a queue called ABC, specifying that all NCL processes
in the queue are to be executed before the queue is deleted:
NCLQUEUE RESET=ABC PURGE=NO