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

In JCL how to execute only one step


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

New User


Joined: 19 Oct 2006
Posts: 1

PostPosted: Fri Oct 27, 2006 3:29 pm
Reply with quote

Hi
I have a job containing 10 steps.
in those only one step will execute.how can i do that?

by
chakradhar
Back to top
View user's profile Send private message
sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Fri Oct 27, 2006 3:41 pm
Reply with quote

Hi,

Check the Below code.

Code:
//TI801SC1 JOB (2000),'IEB EDIT',                             
//         NOTIFY=&SYSUID,                                     
//         MSGCLASS=X,                                         
//         CLASS=J                                             
//*************************************************************
//*                 IEBEDIT -- FOR EXECUTING RANGE OF STEPS   
//*************************************************************
//STEP1    EXEC PGM=IEBEDIT                                   
//SYSUT1   DD DSN=TA456YC.PERSONAL(IEBEDIT1),DISP=SHR   
//SYSUT2   DD SYSOUT=(*,INTRDR)                               
//SYSOUT   DD SYSOUT=X                                         
//SYSPRINT DD SYSOUT=X                                         
//SYSIN    DD *                                               
  EDIT TYPE=INCLUDE,STEPNAME=STEP2                             
/*     

Thanks,
Sridevi
Back to top
View user's profile Send private message
guptae

Moderator


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

PostPosted: Fri Oct 27, 2006 3:42 pm
Reply with quote

Hi there,


Code:
// JOB . . .
//STEP1 EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=A.PDS(M1),DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=STEP3
/*


If u want to execute 3rd step
Back to top
View user's profile Send private message
salehi

New User


Joined: 30 Sep 2006
Posts: 14
Location: Iran

PostPosted: Wed Nov 01, 2006 11:39 pm
Reply with quote

do like this ,
//*XXXX.XXXX.XXX dataset containg
//*your jcl
//*yyy member

//J123 JOB NOTIFY=OBKIHS2,MSGLEVEL=(1,1)
//STEP1 EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SUBMIT ('XXXX.XXXX.XXX(YYY)' )
/*
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 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
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
Search our Forums:

Back to Top