Is there an API that will return a list of jobs in a job queue? I am particularly interested in a job queue that should have two scheduled jobs in it but might not.
Software/Hardware used:
AS/400 v5r4
ASKED:
March 16, 2011 8:11 PM
UPDATED:
March 17, 2011 5:58 PM
…a job queue that should have two scheduled jobs in it but might not.
Are these jobs submitted with a SCDDATE() and SCDTIME(), or are they scheduled on the job scheduler to be submitted at a specific date and time?
In the first case, the jobs will be on the queue. In the second case, the won’t be on the queue until the scheduler submits them (and then they’ll be off of the queue as soon as they can start to run).
I think I have sample code that lists job queue entries with QGYOLJOB, but it’s not simple.
Tom