You can check the completion status using int status = jobDetails.getCc(); You can then compare the value that is returned against the status codes in PSEUtils (e.g., You may also want to review the logs for the job:
Collection logList = pse.getLogsForJob(jobId);
Iterator it = logList.iterator();
while (it.hasNext()) {
JobLogValue logRecord = (JobLogValue)it.next();
// There is a lot of information in the log record,
// we just print a few things for this example.
System.out.println(logRecord.getMsg().getMessage());
if (logRecord.getException()!= null) { // There was an
exception associated with this record
logRecord.getException().printStackTrace(System.out);
}
}
| |||||||||