| Author |
Message |
vamseepotti
New User
Joined: 21 Oct 2003 Posts: 46
|
|
|
|
| Hi I have one doubt we have lakhs of jobsteps in JOB. Some steps r abended. How to run that abended jobsteps? |
|
| Back to top |
|
 |
References
|
Posted: Fri Feb 20, 2004 2:10 pm Post subject: Re: How to run abended job steps? |
 |
|
|
 |
krbabu
Active User
Joined: 20 Feb 2004 Posts: 57
|
|
|
|
Hi Vansee,
Ofcourse u have a lakh of job step. Once any of the step abended , then the sub sequent steps aren't run. So you have to restart the step with RD parameter. |
|
| Back to top |
|
 |
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 259 Location: USA
|
|
|
|
Hello vamseepotti,
Folowing is the excerpt from the JCL User's Guide
Restarting after Abnormal Termination
If a job terminates abnormally, the checkpoint/restart facilities allow you to restart the job, as follows:
1) Automatic step restart, that is, restart by the system from the beginning of a job step.
2) Automatic checkpoint restart, that is, restart by the system from a checkpoint within a job step.
3) Deferred step restart, that is, restart at a later time from the beginning of a job step.
4) Deferred checkpoint restart, that is, restart at a later time from a checkpoint within a job step.
Restarts are controlled by:
1) RD parameters on JOB and EXEC statements. (Restart is not supported for started tasks; do not use the RD parameter on the JOB statement for a started task.)
2) Checkpoints, if written. Each time a CHKPT macro is executed, a checkpoint is written.
3) The job journal, which is only required for an automatic restart. In a JES3 system, the programmer can code a JOURNAL parameter on the JES3 //*MAIN statement to control whether JES3 creates a journal for the job.
4) In deferred restarts, a RESTART parameter on the JOB statement for the restarting job and a SYSCHK DD statement to identify the data set containing the checkpoint written in response to the CHKPT macro. (Restart is not supported for started tasks; do not use the RESTART parameter on the JOB statement for a started task.)
check out the following link for more details
MVS JCL User's Guide
Hope this helps,
Regards
Mayuresh Tendulkar |
|
| Back to top |
|
 |
|
|
|