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
 

 

How to override the COND parameter?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to override the COND parameter?
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    Post subject: Re: How to override the COND parameter?
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    Post subject: Re: How to override the COND parameter?
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    Post subject: Re: How to override the COND parameter?
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Sat Dec 26, 2009 1:50 pm    Post subject: Reply to: How to override the COND parameter?
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    Post subject: Reply to: How to override the COND parameter?
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: 241
Location: Cincinnati OH USA

PostPosted: Sun Jan 10, 2010 2:56 am    Post subject:
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

Site Director


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

PostPosted: Mon Jan 11, 2010 2:31 am    Post subject:
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    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 Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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