Lexical - F$GETQUI
1. Use DISPLAY_QUEUE to establish
a queue context (object=“*”)
2. Use DISPLAY_JOB to display jobs
on the queue (object=“*”).
3. Loop back to #2 until no more jobs.
4. Loop back to #1 until a null queue
Notes:
When getting information about all the jobs on a queue, first create the queue context using DISPLAY_QUEUE. Then use DISPLAY_JOB repeatedly to loop through all the jobs in the queue.