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
 

 

Run steps from 100 to 130 in procedure

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

New User


Joined: 11 Oct 2013
Posts: 37
Location: India

PostPosted: Thu Nov 07, 2013 7:33 pm    Post subject: Run steps from 100 to 130 in procedure
Reply with quote

Dear experts.

I have a question regarding overriding..
Question is as follows
if i have a job , it calling a proc which have 200 steps in it. My need it to run
steps from 100 to 130 only without doing any changes in jcl.
How can i achieve this.

My approach....As per my knowledge, I can restart the step in procedure, but i do not know how to stop it after 130.



Regards.
Deepak
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Thu Nov 07, 2013 7:53 pm    Post subject: Reply to: Run steps from 100 to 130 in procedure
Reply with quote

200 steps! That sounds easy to grasp for the human mind. Especially at 02:00.

OK, they probably won't let you cut it all up, but why don't you make a new PROC for 100-130, use that PROC in your job, and update the stupid one to use that PROC in place of the steps 100-130.

Don't you have people who look after the JCL anyway? Sounds like Production. 200 steps! Why?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Thu Nov 07, 2013 8:59 pm    Post subject:
Reply with quote

I guess you could put an override into step 131 for a non-existent dataset (if using JES2). Creating a temporary proc, although the more 'legitimate' way to go can take a bit of time as you get rid of any backward references, ensure you have the correct symbolics etc.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Thu Nov 07, 2013 9:14 pm    Post subject: Re: Run steps from 100 to 130 in procedure
Reply with quote

Kmr.deepakcs wrote:
if i have a job , it calling a proc which have 200 steps in it. My need it to run
steps from 100 to 130 only without doing any changes in jcl.
How can i achieve this.

You can't, unless you are using "changes" and "jcl" (sic) with significantly different meanings from their usual ones.

As Mr. Woodger has hinted, the proper way to go about this is to junk your current JCL and start over with a proper design.
Back to top
View user's profile Send private message
Kmr.deepakcs

New User


Joined: 11 Oct 2013
Posts: 37
Location: India

PostPosted: Thu Nov 07, 2013 9:23 pm    Post subject:
Reply with quote

thanks
@Akatsukami for reply
Back to top
View user's profile Send private message
seagull

New User


Joined: 28 May 2007
Posts: 24
Location: Dublin

PostPosted: Wed Nov 20, 2013 11:19 pm    Post subject:
Reply with quote

You could do it with COND parameters on all your steps.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1238
Location: Richfield, MN, USA

PostPosted: Thu Nov 21, 2013 12:38 am    Post subject:
Reply with quote

That would be "changing" the JCL and/or PROC, and as Akatsukami and others have said, "can't be done without changing something."
Back to top
View user's profile Send private message
TheMFKid

New User


Joined: 20 Nov 2013
Posts: 91
Location: India

PostPosted: Thu Nov 21, 2013 11:20 am    Post subject:
Reply with quote

You might also want to check out IEBEDIT utility if that can satisfy your requirement to some extent.
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 Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
This topic is locked: you cannot edit posts or make replies. Stored procedure on Federated thru DB2 arif677 DB2 6 Tue May 31, 2016 11:48 pm
No new posts Mainframe COBOL - DB2 Stored Procedure Elixir DB2 2 Sat Mar 19, 2016 9:39 am


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