Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 ROSCOE RPF execution via JCL balimanja CA Products 2 Tue Nov 07, 2017 2:13 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 6 Fri Sep 22, 2017 7:08 am
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us