The <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qwclscde.htm">List Job Schedule Entries (QWCLSCDE) API</a> is used to materialize a list of job scheduler entries into a user space. The entries can then be looped through like any list in a space.
Tom
Last Wiki Answer Submitted: April 19, 2010 9:10 pm by TomLiotta108,055 pts.
All Answer Wiki Contributors: TomLiotta108,055 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Since the programming for the APIs is often cleaner than trying to handle a converted printer file (which may be externally described and changed at any time), I would avoid a technique that is probably slower and less reliable.
Usually, the problems with APIs come up during the first couple of attempts at using them. Forums such as this one provide experienced guidance to get over the learning curve. A question can always be entered to show code that tries to call an API and demonstrates a problem. Once the problem is explained, many additional APIs become clear quickly.
Certainly not the best solution but does work: WRKJOBSCDE OUTPUT(*PRINT) PRTFMT(*FULL) This will create a spooled file which you can search on.
Since the programming for the APIs is often cleaner than trying to handle a converted printer file (which may be externally described and changed at any time), I would avoid a technique that is probably slower and less reliable.
Usually, the problems with APIs come up during the first couple of attempts at using them. Forums such as this one provide experienced guidance to get over the learning curve. A question can always be entered to show code that tries to call an API and demonstrates a problem. Once the problem is explained, many additional APIs become clear quickly.
Tom