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
 

 

Selective execution of step in a proc

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Selective execution of step in a proc
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    Post subject:
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    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Tue Jun 17, 2008 3:32 pm    Post subject: Reply to: Selective execution of step in a proc
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

Site Director


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

PostPosted: Tue Jun 17, 2008 7:19 pm    Post subject:
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.    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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts output DDname JESMSGLG job during exe... italo_pm TSO/ISPF 16 Tue Jun 21, 2016 11:13 am


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