View previous topic :: View next topic
|
Author |
Message |
Dmay
New User
Joined: 29 Apr 2005 Posts: 2
|
|
|
|
Hi,
I have a proc with some 5 steps which is used by several jobs.My requirement is not to execute Step 3 but all other steps which should be achieved without changing the proc. step 3 already has a COND code in its exec statement as
//R020 EXEC PGM=STM8222A,COND=(0,NE,R010)
I just have to use override in the JCL to change the R020.COND as (0,LE).
how should i give the override in the jcl? I tried R020.COND but failed.
can we override the exec stmt or not.? ..can anyone help me? |
|
Back to top |
|
|
Suthandira
New User
Joined: 06 Apr 2005 Posts: 10
|
|
|
|
Hi Damy,
The syntax is:
COND.STEPNAME=value
so u can code like
COND.R020=(0,LE)
Regards,
Devi.
Correct me if i am wrong. |
|
Back to top |
|
|
Dmay
New User
Joined: 29 Apr 2005 Posts: 2
|
|
|
|
Devi..
It is working fine..Thank you..
if the first step in the proc to be avoided then is there any COND combination other than the RESTART option? Imean COND=(0,LE) will not work if it is first step.. |
|
Back to top |
|
|
vish s
New User
Joined: 08 Jul 2009 Posts: 1 Location: pune, india
|
|
|
|
Dmay wrote: |
Devi..
It is working fine..Thank you..
if the first step in the proc to be avoided then is there any COND combination other than the RESTART option? Imean COND=(0,LE) will not work if it is first step.. |
if you give COND=only in the first step it will never execute. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
wowww... almost a guinness
Code: |
The topic has been resurrected after
... 4 year(s) - (months difference / 12 )
... 4 year(s) - (difference )
... 56 months
... 1701 days
... 40844 hours
... 2450658 minutes
... 147039480 seconds
|
|
|
Back to top |
|
|
l.nethaji
New User
Joined: 16 Mar 2008 Posts: 90 Location: tamil nadu
|
|
|
|
If u want to avoid the first step in the proc u can give cond parameter as only .
COND= ONLY.
only if the previous step abends this step wil run .
As this the first and the condition fails this wil bypassed
thanks |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
It's also somewhat amazing how many shops have this same proc and only need step 3 run. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
If u want to avoid the first step in the proc u can give cond parameter as only .
COND= ONLY.
|
Completey off the mark. . .
Please do not post "solutions" that do not have anything to do with the request. . . |
|
Back to top |
|
|
|