View previous topic :: View next topic
|
Author |
Message |
Kmr.deepakcs
New User
Joined: 11 Oct 2013 Posts: 37 Location: India
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
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 |
|
|
Kmr.deepakcs
New User
Joined: 11 Oct 2013 Posts: 37 Location: India
|
|
|
|
thanks
@Akatsukami for reply |
|
Back to top |
|
|
seagull
New User
Joined: 28 May 2007 Posts: 24 Location: Dublin
|
|
|
|
You could do it with COND parameters on all your steps. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
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 |
|
|
TheMFKid
New User
Joined: 20 Nov 2013 Posts: 91 Location: India
|
|
|
|
You might also want to check out IEBEDIT utility if that can satisfy your requirement to some extent. |
|
Back to top |
|
|
|