Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
To restart from 95th step if a job fails which has 100 steps

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: To restart from 95th step if a job fails which has 100 steps
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    Post subject:
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    Post subject:
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    Post subject: Re: To restart from 95th step if a job fails which has 100 s
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Control-M restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 6 Fri Sep 22, 2017 7:08 am
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us