UQ (Unit Queue)

The UQ (Unit Queue) command displays unit queue assignments and assigns jobs from input units to a job queue. The UQ command is only meaningful when <device type> is SC.

All jobs started at a unit that has a queue assignment pass through the assigned queue. If the job control card contains a class assignment, the system checks the class of the job against the class of the unit. If the classes are not the same, the job is discontinued.

If the queue for a unit that has a class assignment was eliminated with an MQ − command, all jobs subsequently entered through that unit are discontinued. Refer to MQ (Make or Modify Queue)

Syntax

Explanation

UQ

Displays the current unit queue assignments.

UQ <device type> <unit number list> <number>

Assigns jobs from the input devices in the unit number list to the job queue specified by <number>.

UQ <device type> <unit number list>

Displays the current or default queue assignments for jobs from the input devices in the unit number list.

UQ − <device type> <unit number list>

Disables the default queue assignments for jobs from the input devices in the unit number list. Jobs currently in the previously specified queue may be reinserted into a different queue as a side effect of this or future system commands as the queue assignment no longer applies. Refer to MQ (Make or Modify Queue).

Examples

Example 1

This example shows a query and response about unit queue assignments.

UQ
   NO UNIT QUEUE ASSIGNMENTS

Example 2

This example requests that the system display the default unit queue for device SC 2.

UQ SC 2
   QUEUE FOR SC 2 IS 7

Example 3

This example deletes a default unit queue for device SC2.

UQ-SC2
   NO DEFAULT FOR SC 2