Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us