View previous topic :: View next topic
|
Author |
Message |
krsenthil85
New User
Joined: 31 Aug 2007 Posts: 55 Location: bangalore
|
|
|
|
Hello,
I knew there is a feature in CA7 to restart the job automatically when the job fails. I want to use that option for one of my job.
But I don't know how to set auto restart.
Please let me know the steps need to be followed to set auto restart after specified interval after the job fails. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
What does the manual say? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
The manual does not agree with your "knowledge":
Quote: |
Job Restart
Under Unicenter CA-7, jobs that abnormally terminate are automatically
suspended and notification is made to a designated workstation advising of a
need to perform a job restart. Through online commands, all jobs waiting for
restart can be listed with job restart information. Job restart information
identifies the last step successfully executed, the abend code, the restartable
steps and, optionally, specific user-defined special instructions. Abended jobs
can be restarted online after restart cleanup is completed.
If Unicenter® CA-11 Restart and Tracking (Unicenter CA-11) is available, both
restart cleanup and job restart can be accomplished online on a single screen. |
I searched the CA-7 Commands Guide and Database Maintenance Guide for "automatic restart" and got no hits at all. Since an automatic restart of a failing job could cause a loop where the job fails and restarts, fails and restarts over and over again, I seriously doubt there is any such capability built into CA-7.
The whole point of putting the job into suspend is for a human to research what caused the job to fail, ensure that condition is fixed, and only then restart the job. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
When a job fails, how will running it again automagically fix the problem (re-read Robert's post)?
Even if you find a way to do this (outside CA-7), it should be avoided. |
|
Back to top |
|
|
|