View previous topic :: View next topic
|
Author |
Message |
faizm
New User
Joined: 13 Apr 2012 Posts: 59 Location: India
|
|
|
|
Hi,
I have to execute only first few steps of PROC. As a rule, we cannot use the NULL statement in PROC. Also, we have the restriction of changing the PROC in our environment. Can we override the PROC in JCL with the null statement after those steps that we need to execute, if so then how?
Thanks |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
If you can modify the actual JCL with overrides, what stops you from actually copying the proc to an in-stream one and zap those steps?????? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
You can achieve this by using IEBEDIT
Numerous examples in forum
Search for IEBEDIT in forum |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
As a rule, we cannot use the NULL statement in PROC. |
Is it an interview question? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
a couple more options (I prefer Robert's option)
Override the first step you do not want to run by adding a DDNAME pointing to a non existent dataset which will result in a JCL error, not pretty but will do the job.
Add something like this
Code: |
//GO EXEC PROC1234,
// COND.STEP03=(0,LE),
// COND.STEP04=(0,LE),
// COND.STEP05=(0,LE)
|
This will flush STEP03 STEP04 & STEP05
Gerry |
|
Back to top |
|
|
|