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
 

 

Regarding restart of a step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
srinivas12

New User


Joined: 11 Apr 2005
Posts: 6
Location: hyderabad

PostPosted: Mon Apr 11, 2005 2:37 pm    Post subject: Regarding restart of a step
Reply with quote

Hi
Can anyone tell me how to execute only a particular jobstep in a JCl.
Restart from a step executes all the steps starting from the mentioned step.
Back to top
View user's profile Send private message

anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Mon Apr 11, 2005 4:49 pm    Post subject:
Reply with quote

You can use COND parameter accordingly...
Back to top
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Mon Apr 11, 2005 5:48 pm    Post subject:
Reply with quote

Hi Srinivas,
You can also do it by giving a restart from the step you want to begin your
execution and just after that step put a null statement.
This would avoid coding the condition parameters for all the remaining steps that you do not want to execute.
Hope this would work.

thanks
david
Back to top
View user's profile Send private message
vinayakaa

New User


Joined: 20 Mar 2005
Posts: 8
Location: Bangalore

PostPosted: Wed Apr 13, 2005 12:26 pm    Post subject:
Reply with quote

Hi Srinivas

open your job in view mode put the restart step for the step which you want to execute and put a null immedeately after that step. this will serve your purpose and will not disturb your Jcl as you are in view mode.

Thanks,
V
Back to top
View user's profile Send private message
andycool

New User


Joined: 12 Apr 2005
Posts: 64

PostPosted: Mon Apr 18, 2005 8:18 pm    Post subject:
Reply with quote

Hi Shrinivas,
U can use the "Restart=jobname.stepname" parameter in your job statement.

In case if your jobname is job1 and stepname is step1; it shud appear like "Restart=job1.step1"

===========================
//user1 JOB 'runjob', class=a, msgclass=a
// time=300, restart=job1.step1
===========================

With this you can restart the job at any step you like. The job will start executing from the mentioned step and down the line.

It is always a good habit to code the Restart parameter in your job.

Hope this solves your query, get back if you still have doubts.

Regards,
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Tue Apr 19, 2005 1:07 am    Post subject: Re: Regarding restart of a step
Reply with quote

srinivas12 wrote:
Hi
Can anyone tell me how to execute only a particular jobstep in a JCl.
Restart from a step executes all the steps starting from the mentioned step.


Srinivas,
Try coding
RESTART=STEP,COND=(0,LE)
This will execute only the particular STEP in the RESTART Parm.
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 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 Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts Compilation Error in Translation Step. amitc23 CICS 4 Tue Mar 01, 2016 12:24 pm
No new posts Extract specific step spool data enrico-sorichetti JCL & VSAM 1 Thu Feb 04, 2016 9:48 am


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