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

How to Execute the 1st step alone in jcl having 100 steps


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

New User


Joined: 02 May 2006
Posts: 5

PostPosted: Tue Jul 04, 2006 5:40 pm
Reply with quote

Hi,
How to execute the first step alone or the last step alone or say steps 60 to 70 alone from a Jcl having say about 100 steps?

I know there is a solution but i dunno the syntax.

Help me in this.
Thanks in Advance.

Cheers
Maya
icon_biggrin.gif icon_biggrin.gif
Back to top
View user's profile Send private message
mainframemouli

New User


Joined: 01 Mar 2005
Posts: 52
Location: Mysore

PostPosted: Tue Jul 04, 2006 7:05 pm
Reply with quote

For executing Only step 1
-----------------------------
After the Step1 and Before the step2 , Just have the statement "//"

For Executing Only last step
--------------------------------
Restart from the Last step.

For Executing any consecutive Steps
-----------------------------------------
Restart from the precceding step and until the step u want to execute and after the desired step , have the statement "//"

Thats it..........
We can do the same by COND parameter also..
Back to top
View user's profile Send private message
Prasmal

New User


Joined: 02 May 2006
Posts: 5

PostPosted: Wed Jul 05, 2006 11:31 am
Reply with quote

How to do it using Cond parameters?

What do u mean by restart, do we need to give any syntax?
Excuse, if the question is too silly.


Cheers
Maya
icon_biggrin.gif icon_biggrin.gif
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Wed Jul 05, 2006 11:35 am
Reply with quote

Hi friend,

Your questions are not silly. May be my answers are icon_smile.gif

However, this topic is discussed a number of times in this forum.
Please have a look at the following link :

ibmmainframes.com/viewtopic.php?t=11551&highlight=steps
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Jul 05, 2006 11:04 pm
Reply with quote

Code COND=(0,LE) on the JOB card and submit.
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
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 Fetch data from programs execute (dat... DB2 3
No new posts CA7 deleting files in steps after job... CA Products 4
Search our Forums:

Back to Top