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

execution of required steps with out cond?


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

New User


Joined: 28 Mar 2006
Posts: 1

PostPosted: Tue Mar 28, 2006 2:05 pm
Reply with quote

hi all,
i have a query nd it goes like this...
there r 5 steps in a job nd i have to execute the first three only..nd not the remaining two...i should n't use cond or restart......pls reply asap.
thanks in advance.
kiran
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Tue Mar 28, 2006 3:26 pm
Reply with quote

Kiran,

The best possible way is to code a NULL stmt after first three step to mark an END-OF-JOB.

Code:
//STEP1
//::
//STEP2
//::
//STEP3
//::
//              <= Shows END-OF-JOB
//STEP4
//::
//STEP5
//::


Regards,
Priyesh.
Back to top
View user's profile Send private message
vikasc4

New User


Joined: 11 Dec 2005
Posts: 32

PostPosted: Tue Mar 28, 2006 3:30 pm
Reply with quote

hi kiran,

Put the NULL statement(//) after the third step. it will execute only the first three step.

regards
Vikas
Back to top
View user's profile Send private message
joseph ladish

New User


Joined: 28 Mar 2006
Posts: 3

PostPosted: Wed Mar 29, 2006 1:08 pm
Reply with quote

u have another option like

use iebedit proc with edit in sysin


e.g

//step1 iebedit
//sysut1 dd dsn=(ur pds member that contain the ur old jcl)
//sysut2 dd sysout=(*,intrdr)
//sysin dd *
edit type=include,stepname=(list the step which u want to execute)
*/


i hope this is the write way to do ur problem,this will work,bcoz i used this one.

any question plz ask this mail id
<<<Mail-ID removed>> READ Forum RULES.
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Reference for COND parameter. JCL & VSAM 1
No new posts IEF142I and Cond. Code 12 All Other Mainframe Topics 3
Search our Forums:

Back to Top