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
 

 

Execute first few steps of PROC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
faizm

New User


Joined: 13 Apr 2012
Posts: 59
Location: India

PostPosted: Wed Dec 05, 2012 2:38 pm    Post subject: Execute first few steps of PROC
Reply with quote

Hi,
I have to execute only first few steps of PROC. As a rule, we cannot use the NULL statement in PROC. Also, we have the restriction of changing the PROC in our environment. Can we override the PROC in JCL with the null statement after those steps that we need to execute, if so then how?
Thanks
Back to top
View user's profile Send private message

prino

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Wed Dec 05, 2012 2:41 pm    Post subject:
Reply with quote

If you can modify the actual JCL with overrides, what stops you from actually copying the proc to an in-stream one and zap those steps??????
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1529
Location: Andromeda Galaxy

PostPosted: Wed Dec 05, 2012 2:41 pm    Post subject:
Reply with quote

You can achieve this by using IEBEDIT

Numerous examples in forum

Search for IEBEDIT in forum
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Dec 05, 2012 7:07 pm    Post subject:
Reply with quote

Quote:
As a rule, we cannot use the NULL statement in PROC.
Is it an interview question?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Dec 06, 2012 4:21 am    Post subject:
Reply with quote

Hi,

a couple more options (I prefer Robert's option)

Override the first step you do not want to run by adding a DDNAME pointing to a non existent dataset which will result in a JCL error, not pretty but will do the job.


Add something like this
Code:
//GO       EXEC PROC1234,                   
//         COND.STEP03=(0,LE),             
//         COND.STEP04=(0,LE),             
//         COND.STEP05=(0,LE)               

This will flush STEP03 STEP04 & STEP05


Gerry
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 execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts CEXEC not able to execute if no SLINE... boyti ko CLIST & REXX 2 Wed Apr 13, 2016 4:31 pm
No new posts New PROC not reflecting in prod even ... Musab Ahmed CA Products 9 Tue Mar 15, 2016 12:45 pm
This topic is locked: you cannot edit posts or make replies. Executing JCL specific steps at speci... Shruti Takkar JCL & VSAM 6 Mon Feb 22, 2016 12:39 pm


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