How to show active jobs using AS400 (JT400) client access software?
问题 I want to develop as400 client access software. I want to monitor disk space, cpu usage etc.. And Job list. I got job list. But I want get to active jobs only. Please help me. This is my job List Code : try { AS400 system = new AS400 ("SERVER","USER", "PASS"); JobList jobList = new JobList(system); Enumeration list = jobList.getJobs(); while (list.hasMoreElements()) { Job j= (Job) list.nextElement(); String GCPU = Integer.toString(j.getCPUUsed()); System.out.println("Name " + j.getName() + "