Each queue is anchored by a QUEUE-DCQ-138, calc on queue name (obt calc
or
area sweep to get to).
Each queue record is instantiated by one SROOT-DCS-139 record (VIA
QUEUE-SROOT) and 0-n SEXT-DCS-140 records (VIA SROOT-SEXT).
The SEXTs exist only if the queue record is more than 500 bytes in
length;
each SEXT is another 500 byte chunk of the queue record. The SROOT is
variable length, and contains whatever is left after chunking the queue
record into 500 byte chunks.
An SROOT not connected to a QUEUE-DCQ is a scratch record, not a queue
record.
Of course, you'll need a subschema (object and source) that defines
these,
and off the top of my head I forget which one that might be.
Don Casey
Principal Consultant
Run Right, LLC
P.S. There is an internal memory construct used to track active queues,
built at startup by the QUED task. Hard/impossible to access from DMLO