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 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
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Read of TDQ fails in LENGERR Tracy Hansen CICS 10 Wed Apr 05, 2017 12:10 am
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm


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