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

execut only one step in job


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pnsnaresh

New User


Joined: 16 May 2006
Posts: 7
Location: pune

PostPosted: Sat Dec 23, 2006 11:59 am
Reply with quote

HI,

In a job there are 100 steps. I need to execute only the 40th step
help me
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Sat Dec 23, 2006 12:04 pm
Reply with quote

Pls use this link to SEARCH your questions, before posting...

RESTART from 40th step and put a NULL statement after 40th step and
Code:
//JOB... RESTART=STEP040
//S001
//S002
::
::
//S040
//
//S041
::
::
//S100
//*
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Dec 26, 2006 11:20 am
Reply with quote

Hi Naresh,

You can also use IEBEDIT if u dont want to change ur jcl

Code:
// JOB . . .
//STEP1 EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=pds name which contain jcl ,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
  EDIT TYPE=INCLUDE,STEPNAME=STEP40
/*
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
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 convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top