Previous Topic: External RequestsNext Topic: Controlling Abend Processing


Queue Threshold Tasks

A sysgen-defined queue ca CAuse a nonterminal task to be started automatically if a predefined threshold is reached. When the queue threshold is reached, DC initiates the nonterminal task. Such a nonterminal task reports on the queue records and then deletes them.

For example, a queue may have a threshold of 100. When the queue exceeds 100 records, DC initiates a task that prints a report and deletes the queue records.

Queue threshold tasks must completely drain the queue and delete all the queue records.