View scheduled jobs in a data file

50 pts.
Tags:
COBOL
Development
RPG
SQL
When using the WRKJOBSCDE command on the AS400, you can see information regarding jobs in the scheduler. Is this information contained in a file which can be accessed for query?
ASKED: October 8, 2004  3:40 PM
UPDATED: October 18, 2009  10:47 AM

Answer Wiki

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

List Job Schedule Entries (QWCLSCDE) API
There is an API that could be used to generate a file for your use in query. See the IBM web site for API’s, for more detailed info on the this API.

==================================================

The entries are not in a file; they are in the scheduler object and are retrieved using the appropriate object method — the List Job Schedule Entries (QWCLSCDE) API.

The API will list the entries into a user space. You loop through the entries in the space and write them to a file or print them, however you choose to do the programming. I’m not aware of any API that helps in writing to a file — at least, not one that’s even close to simply executing a WRITE op-code.

Tom

Discuss This Question:  

 
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

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