Hello,
What is the way to know when a job has finished running?
I want to check the status of the job completion and then transfer the output file to the client using :
FileInfoArray files1 = xact.listSpool(cluster, job); for (FileInfo file : files1.getItem()) {
xact.getFile(cluster, job, file.getName(), Integer.valueOf((int) file.getSize()), new File(file.getName()));
}
Is there a way to monitor the status of the job and get the output files then?
Thanks,
D
|