IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To restart from 95th step if a job fails which has 100 steps


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vasanth

New User


Joined: 17 Jun 2005
Posts: 5

PostPosted: Thu Jun 23, 2005 8:20 pm
Reply with quote

if there are 100 steps in a job,
if any of the one of the step fails ,and then to execute 95th step
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Jun 23, 2005 10:05 pm
Reply with quote

You want to execute from 95th step if an error in one of the previous step occured?
It is correct?
Back to top
View user's profile Send private message
brganeshbabu

New User


Joined: 23 Jun 2005
Posts: 34
Location: Chennai

PostPosted: Tue Jul 05, 2005 11:18 am
Reply with quote

Hi vasanth,
I think you have the habit of posting but don't look into the answers. The answer for your question is using RESTART keyword in JOB statement.
Back to top
View user's profile Send private message
sendil

New User


Joined: 30 Jun 2005
Posts: 27

PostPosted: Tue Jul 05, 2005 11:56 am
Reply with quote

The RESTART parameter is used to restart a job at a specific job
step, or at a specific checkpoint number in a job step that used
checkpointing during a previous execution.

Syntax:

RESTART={* }
{stepname }
{stepname.procstepname }
{stepname.procstepname,checkid}

Examples:

//SYS023$$ JOB (TERW),BATCH,MSGLEVEL=(1,1),CLASS=W,
// RESTART=JS60.PS35 RESTART AT STEP PS35 IN JOB STEP JS60


//MASTLOAD JOB (23,2,1,1),'MASTER FILE LOAD',
// RESTART=STEP2.C00009
//* RESTART AT CHECKPOINT NUMBER C00009 IN JOBSTEP STEP2
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
Search our Forums:

Back to Top