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
 
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

Senior Member


Joined: 07 Feb 2009
Posts: 1060
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: 1542
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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
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