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
 

 

In JCL how to execute only one step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: In JCL how to execute only one step
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    Post subject: Re: In JCL how to execute only one step
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: 1187
Location: Bangalore,India

PostPosted: Fri Oct 27, 2006 3:42 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions 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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm


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