Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

Constant com.ibm.as400.access.jobList.addJobSelectionCriteria(JobList.SELECTION_JOB_QUEUE

Thread view: 
Jeffrae - 30 Nov 2006 18:09 GMT
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!!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.