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

How to execute the First 5 steps among 75 Steps


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
purushoth_jp

New User


Joined: 12 Dec 2004
Posts: 22

PostPosted: Fri Apr 22, 2005 5:46 am
Reply with quote

hi all,

I have some 75 steps in a proc. I want to exec only the first 5 steps.


1. Since it is a production proc I cant touch the proc. So that I cant give

null statement in the proc.

2. I cant give COND parameter for all the 70 steps.. in the proc.

What can be done with this situation. IF anyone knows to use IF stmt please come up with the eg JCL.
Back to top
View user's profile Send private message
andycool

New User


Joined: 12 Apr 2005
Posts: 64

PostPosted: Tue Apr 26, 2005 6:14 pm
Reply with quote

Hi,

I guess this pseudo code shud help you. Try to get the actualy JCL code for it. Please post it if you find the same.
==============================

//Job1step1
//Job1step2
//Job1step3
//Job1step4
//Job1step5
IF Job1step5.RC=0 THEN
Job1term /*This will be the termination step*/
ENDIF
//Job1step6
//Job1step7
.
.
.
//Job1term

==============================

Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Fetch data from programs execute (dat... DB2 3
No new posts CA7 deleting files in steps after job... CA Products 4
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
No new posts Evaluate variable to execute a jcl step JCL & VSAM 3
Search our Forums:

Back to Top