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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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 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 Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Fetch data from programs execute (dat... DB2 3
No new posts CA7 deleting files in steps after job... CA Products 4
Search our Forums:

Back to Top