Lexical - F$GETQUI
Get information about queues and jobs
Can be complicated, is definitely useful.
Notes:
The F$GETQUI() lexical function can be used to get information about queues and the jobs on those queues.
F$GETQUI() can be complicated to use; but its usefulness is well worth the effort.