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

Selective execution of step in a proc


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
ermanisharora

New User


Joined: 10 Apr 2007
Posts: 7
Location: Good-gaon

PostPosted: Tue Jun 17, 2008 1:46 pm
Reply with quote

There are 5 steps in a proc but only Step1 and Step3 need to be executed. Please suggest how this can be achieved by using override in the job. I tried to give override using COND parameter but when the COND parameter is used in the job at the EXEC statement, it overrides all the COND parameters which are coded with individual proc steps.

Thanks...
Back to top
View user's profile Send private message
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 165
Location: Bangalore

PostPosted: Tue Jun 17, 2008 3:00 pm
Reply with quote

Quote:
when the COND parameter is used in the job at the EXEC statement, it overrides all the COND parameters

can you please post your JCL?
Back to top
View user's profile Send private message
birdy K

New User


Joined: 05 Mar 2008
Posts: 72
Location: chennai

PostPosted: Tue Jun 17, 2008 3:22 pm
Reply with quote

You have to use the Cond parameter using StepName. For ex
//name EXEC procname,COND.stepname=(4,GT)
If you are using the stapname. How it will override for all steps.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Tue Jun 17, 2008 3:32 pm
Reply with quote

erman,

As asked, post your JCL statements where you have coded the COND parameter.

ALso search this forum as this has been discussed many times.
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: Tue Jun 17, 2008 7:19 pm
Reply with quote

Hello,

You can use IEBEDIT to do what you need.

For additioinal info search the forum.

This topic has been covered too many times and is being locked.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
Search our Forums:

Back to Top