Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts OUTREC FILELDS FAILS WITH ICE126A 2 ... balaji81_k DFSORT/ICETOOL 8 Sat Jul 02, 2016 1:22 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us