50 pts.
 View scheduled jobs in a data file
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?

Software/Hardware used:
ASKED: October 8, 2004  3:40 PM
UPDATED: October 18, 2009  10:47 AM

Answer Wiki:
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
Last Wiki Answer Submitted:  October 18, 2009  10:47 am  by  Rigger   0 pts.
All Answer Wiki Contributors:  Rigger   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _