3.3

Table Of Contents
Changing Database Traits from the Console
273
Changing Database Traits from the Console
To change a database trait from the console, you must use the dbtraits command. The
general format is:
dbtraits pathname [only][option value][+mode][...][-mode][...]
Database traits come in two types, options and modes.
Options accept a range of values, such as setting 18 hours for a queue’s purge interval.
dbtraits rundowns.5pm purge 18
Modes are traits that are either assigned or not—that is, they are either turned on or off.
A trait preceded by a plus (+) turns a mode on. A trait preceded by a minus (-) turns it
off. The following is an example:
dbtraits rundowns.5pm +p
You can change several traits at the same time. For instance, the following command
changes the queue to read-only status and also assigns the wires story form and the wires
queue panel form to it:
dbtraits wires +r sform wires qform wires
Changing a Parent Directory Only
When you change a directory’s traits at the console, dbtraits also applies your changes to any
subdirectories or queues in that folder. You can restrict your changes to the parent directory
by following the directory name with the word only.
n
This is opposite of the way traits are assigned using the iNEWS Workstation.
For instance, to turn on the Scripts directory’s Sequential trait (+s) without also turning it on
for any of the Scripts subdirectories or queues, type:
dbtraits scripts only +s
Database Traits Console Command Summary
The following Database Traits Summary table is a summary of iNEWS database traits,
(SRPlo-LIsUGQSXWFiT) as seen and used in connection with the dbtraits command at the
console. These traits might also appear in a GUI format at the iNEWS Workstation.