Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to run abended job steps?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
vamseepotti

New User


Joined: 21 Oct 2003
Posts: 46

PostPosted: Fri Feb 20, 2004 2:10 pm    Post subject: How to run abended job steps?
Reply with quote

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
View user's profile Send private message
References
PostPosted: Fri Feb 20, 2004 2:10 pm    Post subject: Re: How to run abended job steps? Reply with quote

krbabu

Active User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Fri Feb 20, 2004 2:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 257
Location: USA

PostPosted: Fri Feb 20, 2004 5:01 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1