How to capture timeout of job in script?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
arati
Participant
Posts: 8
Joined: Mon Aug 29, 2005 4:05 am

How to capture timeout of job in script?

Post 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?
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post 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,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
cmmurari
Participant
Posts: 34
Joined: Sun Jan 02, 2005 9:55 am
Location: Singapore

Post by cmmurari »

you may need to check envrionment variables!!
Post Reply