×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hi
What i have done so far is
JobList jobList = new JobList(as400);
while(e.hasMoreElements())
{
Job j = e.nextElement();
String str = j.getSubsystem();
if(str.trim().equalsIgnoreCase(subsystem.trim()))
{
System.out.println(j.getName());
}
}
I tried to add
jobList.addJobSelectionCriteria(JobList.SELECTION_PRIMARY_JOB_STATUS_ACTIVE,
Boolean.TRUE);
jobList.addJobSelectionCriteria(JobList.SELECTION_PRIMARY_JOB_STATUS_JOBQ,
Boolean.FALSE);
jobList.addJobSelectionCriteria(JobList.SELECTION_PRIMARY_JOB_STATUS_OUTQ,
Boolean.FALSE);
but id does not return any job
Any ideas how to filter the jobs
--- Ashish Kulkarni <kulkarni_ash1312@xxxxxxxxx>
wrote:
Hi
Is it possible to get all the active jobs under
QUSRWRK subsystem in Java program using JT400?
For example the AS400 command would be
WRKACTJOB SBS(QUSRWRK)
I would like an Array of all these jobs, so i can go
through them one by one and check the status of
these
jobs.
Ashish
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.