3.3

Table Of Contents
E Managing Traits at the Console
282
2. Use dbtraits to set the queue’s sort field.
dbtraits <queue name> sortfield <field name>
If the queue is not already sorted, include the sorted option (+so) at the end of the
command to turn on its sorted trait. For instance, type:
dbtraits rundowns.5pm sortfield page-number +so
Turn on the sorted option (+so) before allowing users to re-enter the queue.
Starting the Queue Sort Function from the Console
You can use the console to restore a ordered queue to its original sorted state and restart
sorting in one of two ways:
Use the dbsort command
Use the dbtraits -o command
To restart sorting at a queue using the dbsort command:
1. Type the dbsort command and the queue name you want to sort. For instance:
dbsort rundowns.5pm
2. Press Enter. Something similar to the following appears:
Sorting: <RUNDOWNS.5PM>
n
If the queue has a write group assigned to it, you must be a console superuser to use dbsort.
Otherwise, you will see something like this:RUNDOWNS.5PM Write group producers NOT
sorted.
To restart sorting at a queue using the dbtraits -o command:
1. Type the dbtraits command, the queue name you want to sort, and -o. For instance:
dbtraits rundowns.5pm -o
2. Press Enter.
Using either the dbsort or the dbtraits command turns off the ordered attribute, allowing
the queue to resume sorting, as indicated by the sort trait.
Purge Interval
The format of the purge information is:
SRPlo-LIsUGQSXWFiT sortfield purge dis mbox directory
Q-RP----I---QSXW--- TITLE P3.0 D1 - WIRES.ALL