List jobs in a job queue

1410 pts.
Tags:
API
AS/400
AS/400 jobs
iseries v5r4
RPG ILE
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

Try QGYOLJOB
Here is a link with more info

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fapis%2Fqgyoljob.htm

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    ...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
    125,585 pointsBadges:
    report
  • Vatchy
    [...] Who do you think helped Vatchy figuring out a way to list jobs in a job queue? You guessed it! CharlieBrowne and TomLiotta to the [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following