IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to override the COND parameter?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Dmay

New User


Joined: 29 Apr 2005
Posts: 2

PostPosted: Fri Apr 29, 2005 4:43 pm
Reply with quote

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
View user's profile Send private message
Suthandira

New User


Joined: 06 Apr 2005
Posts: 10

PostPosted: Fri Apr 29, 2005 4:49 pm
Reply with quote

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
View user's profile Send private message
Dmay

New User


Joined: 29 Apr 2005
Posts: 2

PostPosted: Fri Apr 29, 2005 5:28 pm
Reply with quote

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
View user's profile Send private message
vish s

New User


Joined: 08 Jul 2009
Posts: 1
Location: pune, india

PostPosted: Sat Dec 26, 2009 1:46 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Dec 26, 2009 1:50 pm
Reply with quote

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
View user's profile Send private message
l.nethaji

New User


Joined: 16 Mar 2008
Posts: 90
Location: tamil nadu

PostPosted: Sat Jan 09, 2010 9:37 am
Reply with quote

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
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Sun Jan 10, 2010 2:56 am
Reply with quote

It's also somewhat amazing how many shops have this same proc and only need step 3 run.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jan 11, 2010 2:31 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
Search our Forums:

Back to Top