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
 
To execute only 3,15,20 steps among 25 Steps

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

New User


Joined: 11 Apr 2005
Posts: 2

PostPosted: Mon Apr 11, 2005 8:14 pm    Post subject: To execute only 3,15,20 steps among 25 Steps
Reply with quote

hi

In my job card i am haveing around 25 step,so i want to execute only 3,15,20 step only.who can i do this helpme

bye
Back to top
View user's profile Send private message

tvs.raj

New User


Joined: 11 Apr 2005
Posts: 1
Location: bangalore

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

hi karan,
u do 1 thing,
in job card u jus keep restart=step3 n giv cond parameter in all the steps in the jcl excluding step15 n step20...
so that u may get solution for this prob..
if it does not executes iam sorry ....
thanks n regards
tvs
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Mon Apr 11, 2005 9:35 pm    Post subject: Re: To execute only 3,15,20 steps among 25 Steps
Reply with quote

Please search first. There are many prior posts on this:

http://ibmmainframes.com/viewtopic.php?t=1791&highlight=
Back to top
View user's profile Send private message
vinoddevkar

New User


Joined: 13 Apr 2005
Posts: 9
Location: pune

PostPosted: Wed Apr 13, 2005 5:07 pm    Post subject: Re: To execute only 3,15,20 steps among 25 Steps
Reply with quote

Hi,

To execute only desired steps in ur job.either u can use restar and cond at the same time or u can also do the same with Passing Control Information
sysin dd *
If maxcc=0 set maxcc=16 of stepname and so on

Just check it out.
Thanx.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Apr 13, 2005 5:31 pm    Post subject: Re: To execute only 3,15,20 steps among 25 Steps
Reply with quote

I think that your question is secondary about the reason that you pose to your job.
I most cases, I've been resolved, there was a initial variable that conditioned the execution of the job.
I'll try to explain myself better.

If you have in example a month or a variable that condition your job or simply the content of a file created by another job(it's impossible that the execution depend only from your mind..) you can use simply a rexx program or in other language that can result a condition for your structured jcl given by your variable(month or other...).
This is my idea:

//STEPMAIN EXEC PGM=IKJEFT01 /COBOL /OTHER...
//INPUT DD * /OR DSNAME.... ACCEPTED AS SYSIN...
//*YOU WILL RECEIVE A RC FROM YOUR PGM
//STEP2 EXEC PGM=PROG1,COND=(1,GT,STEPMAIN)
......
//STEP3 EXEC PGM=PROG2,COND=(2,GT,STEPMAIN)
......
//STEP4 EXEC PGM=PROG1,COND=(1,GT,STEPMAIN)

And so on....
Wath do you think about this?

Regards
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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am

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