title: How to retrieve a specific JobList from the AS400 ?
body: <p>I'm trying to retrieve a list of active processes that match my criteria. I've already got a working implementation that uses JobList that uses an as400 object:</p>
  
  <pre><code>// New as400 object
  
  as400Environment = new AS400();
  as400Environment.setSystemName(systemName);
  as400Environment.setUserId(userID);
  as400Environment.setPassword(password);
  
  // New Job list
  JobList jobList = new JobList(as400Environment);
  Enumeration e = jobList.getJobs();
  
  while(e.hasMoreElements()) {
  
      // Store current job
      Job j = (Job) e.nextElement();
  
      // Do things with the job ........
  }
  </code></pre>
  
  <p>But this takes too long to get to the root of what I need, up to 10 minutes on some computers. </p>
  
  <p>I've started looking at using Subsystem:</p>
  
  <pre><code> Subsystem sbs = new Subsystem(as400Environment, subsystRequired, subsystRequired);
  </code></pre>
  
  <p>But I can't seem to get the job list as a string, only as a integer to tell me how many jobs there are.</p>
  
  <p>Is there anyways to immediately return a job list with limited overhead ? I'm still looking through API's now but if anyone has any guidance it would be greatly appreciated. </p>