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
 

 

how to execute first step in a PROC which has 10 steps

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

New User


Joined: 06 Apr 2005
Posts: 16

PostPosted: Thu Dec 21, 2006 2:12 am    Post subject: how to execute first step in a PROC which has 10 steps
Reply with quote

I have one job. It has 100 steps. In step 100 it is using one proc. This proc had ten steps, and I want to run 1st step only out of 10 steps.

How we can run the only one step.
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Dec 21, 2006 2:29 am    Post subject: Re: how to execute first step in a PROC which is having 10 s
Reply with quote

Code EXEC overrides for the last 9 steps of the PROC that will make then not execute, such as

Code:

//*
//JS01 EXEC THEPROC,           
//  COND.PS02=(0,LE),           
//  COND.PS03=(0,LE),           
//  COND.PS04=(0,LE),           
//  COND.PS05=(0,LE),           
//  COND.PS06=(0,LE),           
//  COND.PS07=(0,LE),           
//  COND.PS08=(0,LE),           
//  COND.PS09=(0,LE),           
//  COND.PS10=(0,LE)           
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Dec 21, 2006 7:10 am    Post subject:
Reply with quote

Hi M,

If I recall correctly, when you code "RESTART=STEP100,COND=(0,LE)" in the JOB card, the 1st 99 steps are bypassed, the 1st step of the PROC will execute and the COND will bypass the remaining steps in the PROC after the 1st procstep executes.
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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
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 Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm


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