Restart Job

How to ask any operator to initiate a job or restart a job automatically if it fails? Which parameter is used for this?

Questions by sujitha menon

Showing Answers 1 - 3 of 3 Answers

tag_tushar

  • Aug 16th, 2010
 

You can restart a job automatically if it fails by ussing the RD (Restart Defination) parameter in the Job card. An automatic restart will only occur if the following condition are true:
1) RD=R(Restart,Checkpoint Allowed)/RNC(Restart, No Checkpoint).
2) The step to be restarted must have abended with a restartable abend code.

Eg:1

// JOB1 JOB NOTIFY=&SYSUID,PRTY=15,RD=R
<rest is up to you what you want to code>

RD=R specifies that the operator can perform automatic step restart if the job fails.

Eg:2

// JOB1 JOB NOTIFY=&SYSUID,PRTY=15,RD=RNC
<rest is up to you what you want to code>

RD=RNC specifies that, if the job fails, the operator can perform automatic step restart beginning with the step that abnormally terminates.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions