I am using the following code to try and return a list of jobs that sre
running in QBATCH5
---
QSYSObjectPathName path = new
QSYSObjectPathName("QGPL","QBATCH1","JOBQ");
jobList.addJobSelectionCriteria(JobList.SELECTION_PRIMARY_JOB_STATUS_ACTIVE,
Boolean.TRUE);
jobList.addJobSelectionCriteria(JobList.SELECTION_PRIMARY_JOB_STATUS_OUTQ
, Boolean.FALSE);
jobList.addJobSelectionCriteria(JobList.SELECTION_JOB_QUEUE,
path.getPath());
For some reason it brings back a list of my Active jobs that show up in
WRKACTJOB...
Shouldn't
jobList.addJobSelectionCriteria(JobList.SELECTION_JOB_QUEUE,
path.getPath()); limit this to just QBATCH 5?
Thank You,
Jeff P
Joe Attardi - 30 Nov 2006 22:17 GMT
> I am using the following code to try and return a list of jobs that sre
> running in QBATCH5
Jeffrae --
This group is more intended for discussions of Java itself and not
necessarily an API to a system like the AS/400. You may want to try
your question in the groups comp.sys.ibm.as400 and
comp.sys.ibm.as400.misc.
Here are the direct links for you:
http://groups-beta.google.com/group/comp.sys.ibm.as400
http://groups-beta.google.com/group/comp.sys.ibm.as400.misc
Jeffrae - 30 Nov 2006 22:25 GMT
> > I am using the following code to try and return a list of jobs that sre
> > running in QBATCH5
[quoted text clipped - 9 lines]
> http://groups-beta.google.com/group/comp.sys.ibm.as400
> http://groups-beta.google.com/group/comp.sys.ibm.as400.misc
Sorry about this..
Thanks!!