for (JobSchedulingMessage mes : schedInfo.getMessageList()) {
pw.println(mes.getMessage() + " (" + mes.getMessageNumber() + ")");
for (int i = 0; i < mes.getJobNumberCount(); i++) {
int jobId = ((ULNG) mes.getJobNumberList().get(i)).getValue();
pw.println("job_number: " + jobId);
Job job = jgdi.getJob(jobId);
pw.println("exec_file: " + job.getExecFile());
pw.println("submission_time: " + job.getSubmissionTime());
pw.println("owner: " + job.getOwner());
pw.println("uid: " + job.getUid());
pw.println("group: " + job.getGroup());
pw.println("gid: " + job.getGid());
// pw.println("default env: " + job.getDefaultEnv());
// pw.println("sge_o_home: " + job.getEnv("SGE_O_HOME"));
// pw.println("sge_o_log_name: " + job.getEnv("SGE_O_LOG_NAME"));
// pw.println("sge_o_path: " + job.getEnv("SGE_O_PATH"));
}