Page 1 of 1

How to capture timeout of job in script?

Posted: Mon Sep 19, 2005 4:17 am
by arati
Hi,
We are writing scripts for running DS parallel jobs.The job status option of dsjob we are fetching to get the status of the job execution.We are using -14 value of jobstatus to display that job is time out.
After running the script the status returned by the dsjob command is aborted.But in actual it's timed out.Can u please tell the solution?

Posted: Mon Sep 19, 2005 5:38 am
by roy
Hi,
How do you determine the job has timed out?

You can always wrap some job-control be it sequnce job or basic control to use the user status to supply any info you can't get (if in fact you can't for some reason) otherwise and use the dsjob to get it.

You might also try capturing a log report (also using dsjob) for the timeout notice.

I can't recall exactly if this might be set so DS doesn't try to preserve partitioning in your job at the moment, so you need to check it or others are welcome to post how.

IHTH,

Posted: Mon Sep 19, 2005 7:51 am
by cmmurari
you may need to check envrionment variables!!