Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : All available storage is assigned to the job or jobstep, If REGION is coded 0K or 0M

Google
 
Web mainframegurukul.com

RESTART - Executing 2 and 3 rd step in 5 step jcl

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL
  View previous topic :: View next topic  
Author Message
ibmlearner
Member


Joined: 02 Dec 2006
Posts: 13

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
2 salutes

PostPosted: Thu Feb 22, 2007 5:20 pm    Post subject: RESTART - Executing 2 and 3 rd step in 5 step jcl Reply with quote

HI ALL

SAY I HAV 5 STEPS,

//--------JOB CARD --------RESTART=STEP2
//STEP1------
//STEP2------
//STEP3------
//STEP4------
//STEP5------

IM RESTARTING THE JOB FROM THE 2 ND STEP,

MY REQ IS ONLY STEP2 AND STEP3 TO BE EXECUTED ??????


LET ME KNOW APART FROM NULL (//) ANY OTHER WAYS R THERE ??????
_________________
Thanks & Regards
-------------------------
Learner
Back to top
View user's profile Send private message Send e-mail
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.

muraligaru1
Moderator


Joined: 11 Nov 2006
Posts: 43

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
1 salutes

PostPosted: Thu Feb 22, 2007 10:39 pm    Post subject: JCL - JOB STEPS Reply with quote

Use COND parameter, to not to execute these step.



Regards,
Murali
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
guptae
Member


Joined: 23 Nov 2006
Posts: 8
Location: Bangalore,India

Answer was approved by Question owner.
Useful Post
1 votes
Not an useful post
Greate Post!! Salute Author
2 salutes

PostPosted: Fri Feb 23, 2007 11:41 am    Post subject: Reply with quote

Hi There,

U can also use IEBEDIT for this

Code:
//STEP1    EXEC PGM=IEBEDIT                       
//SYSUT1   DD DSN=dataset that contain jcl,DISP=SHR
//SYSUT2   DD SYSOUT=(*,INTRDR)                   
//SYSPRINT DD SYSOUT=*                           
//SYSIN    DD *                                   
  EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP3)       
/*   
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Ajay Baghel
Member


Joined: 02 Apr 2007
Posts: 3
Location: Bangalore

Answer was approved by Question owner.
Useful Post
1 votes
Not an useful post
Greate Post!! Salute Author
2 salutes

PostPosted: Thu Apr 05, 2007 11:28 am    Post subject: Reply with quote

Hi,

Tried executing steps in a random order. Like input jcl dataset has steps Step1, step2, step3 in that order.
But on giving

EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP1)

Still it executes the step1 before step2.

Is it not the correct order?

Thanks,
Ajay
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
acevedo
Member


Joined: 21 Mar 2007
Posts: 12

Answer was approved by Question owner.
Useful Post
1 votes
Not an useful post
Greate Post!! Salute Author
2 salutes

PostPosted: Mon Apr 09, 2007 11:33 am    Post subject: Re: RESTART - Executing 2 and 3 rd step in 5 step jcl Reply with quote

ibmlearner wrote:

IM RESTARTING THE JOB FROM THE 2 ND STEP,

MY REQ IS ONLY STEP2 AND STEP3 TO BE EXECUTED ??????


LET ME KNOW APART FROM NULL (//) ANY OTHER WAYS R THERE ??????


In my opinion the best way is // or just delete the steps you don't want to execute... the second option, as said before, is 'playing' with COND.

Code:

//???????? JOB MSGCLASS=X,REGION=8M,NOTIFY=&SYSUID,           
//          RESTART=STEP20                                     
//STEP10    EXEC  PGM=IEFBR14                                 
//STEP20    EXEC  PGM=IEFBR14                                 
//STEP30    EXEC  PGM=IEFBR14                                 
//STEP40    EXEC  PGM=IEFBR14,COND=((0,NE),(0,EQ))             
//STEP50    EXEC  PGM=IEFBR14,COND=((0,NE),(0,EQ))             
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
innocent
Member


Joined: 20 Jun 2007
Posts: 7

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
3 salutes

PostPosted: Thu Jun 21, 2007 4:55 pm    Post subject: Reply with quote

what i understand from your query is ..there are 5 step and you need to nullify , some steps in tht proc ..if that is your query then try this

// proc exc proc1 , parameter.stepname=value
parameter =condition
step name = requried step which you would like to nullify

All parameters on an EXEC stmt in the proc such as COND, PARM have to be overridden like this!!

Pls...Let me know is this work for you ...Thanks

Inoccent:)
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
academyindia4
Guest





Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Jan 19, 2016 8:21 pm    Post subject: Topic deleted by Admin Reply with quote

<< Content deleted By Admin >>
Back to top
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
academyindia4
Guest





Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Feb 01, 2016 10:53 pm    Post subject: Topic deleted by Admin Reply with quote

<< Content deleted By Admin >>
Back to top
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Sending the user a message when job abends? 3 LRevell 10834 Mon Feb 01, 2016 11:05 pm
academyindia4 View latest post
No new posts job from spool area 5 safia_shaheen 17102 Mon Feb 01, 2016 10:57 pm
academyindia4 View latest post
No new posts Need information regarding job openings in USA on Mainframes 4 rayala_uday 7189 Sat Jan 30, 2016 11:33 pm
academyindia4 View latest post
No new posts Reg my Job search 3 ursvmg 7277 Fri May 22, 2015 2:40 pm
newwaysys View latest post
No new posts accessing net via job 2 Tejas 7222 Sat Jun 02, 2007 4:12 pm
Tejas View latest post
 


Cobol Tutorial
This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial
This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial
This Tutorial covers all important aspects of DFSORT. Has more SORT examples
INTERVIEW Questions
This page covers important interview questions
Mainframe Jobs
Mainframe Jobs posted by members of mainframegurukul forum
FaceBook Page
MainframeGurukul FaceBook Page
LinkedIn Page
MainframeGurkul Linkedin Page

This widget requires Flash Player 9 or better







Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials || Mainframe CICS tutorial|| Mainframe COBOL Tutorial

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB

mainframetopic-2329.html