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
 

 

JCL TIME parameter in JOB and STEP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
NehaPathak

New User


Joined: 02 Aug 2007
Posts: 5
Location: Pune

PostPosted: Tue Aug 07, 2007 3:20 pm    Post subject: JCL TIME parameter in JOB and STEP
Reply with quote

We can give time parameter at job level and at step level both at the same time. But what will happen if time parameter specified at step level exceeds total time specified at job level?

I tried with small pgm by specifying 2 sec for step level and 1 sec for job level that pgm executed properly with out any error.

But i tried with small pgm only if pgm is larger than the 1 sec requirement then wat will happen?
Back to top
View user's profile Send private message

balakrishna reddy

Active User


Joined: 13 Jul 2007
Posts: 130
Location: Guntur

PostPosted: Tue Aug 07, 2007 4:54 pm    Post subject:
Reply with quote

hi neha,

Quote:

But i tried with small pgm only if pgm is larger than the 1 sec requirement then wat will happen?


if the time parameter is coded on both job and step as shown below in the example code.
Code:

//SECOND JOB   ,'Balakrishna',TIME=3
//STEP1  EXEC  PGM=C,TIME=2
//STEP2  EXEC  PGM=D,TIME=2



the job is allowed 3 minutes of execution time. Each step is allowed 2 minutes of execution time. Should either step try to execute beyond 2 minutes, the job will terminate beginning with that step. If STEP1 executes in 1.74 minutes and if STEP2 tries to execute beyond 1.26 minutes, the job will be terminated because of the 3-minute time limit specified on the JOB statement.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Aug 07, 2007 5:01 pm    Post subject:
Reply with quote

It's all in the fine manual.

O.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Aug 07, 2007 5:04 pm    Post subject: Re: JCL TIME parameter in JOB and STEP
Reply with quote

Quote:
But what will happen if time parameter specified at step level exceeds total time specified at job level?


This statement is confusing ! It actually depends on the actual time taken for a step to execute and not the actual parameter specified.

if the time specified in the JOBcard is 2 mins then the job would abend if the job runs for more than 2 mins no matter the value in the STEP.

The TIME parameter specified in the JOB card is for all the steps and that shd be greater than or equal to the total time taken by all the steps to execute.
Back to top
View user's profile Send private message
NehaPathak

New User


Joined: 02 Aug 2007
Posts: 5
Location: Pune

PostPosted: Tue Aug 07, 2007 6:51 pm    Post subject:
Reply with quote

THANX A LOT TO U ALL!!!!
I got the point that the time specified at job level is the time allocated to that total job.

Thanx again!!!
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm


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