Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
execution of required steps with out cond?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: execution of required steps with out cond?
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: 1452
Location: Chicago, IL

PostPosted: Tue Mar 28, 2006 3:26 pm    Post subject: Re: execution of required steps with out cond?
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    Post subject:
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    Post subject:
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    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 how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 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 output DDname JESMSGLG job during exe... italo_pm TSO/ISPF 16 Tue Jun 21, 2016 11:13 am
No new posts COND parameter vs IF THEN ELSE Alks JCL & VSAM 11 Fri Jun 17, 2016 5:28 pm
No new posts FTP help required amitc23 All Other Mainframe Topics 3 Thu Apr 28, 2016 12:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us