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
 
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
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am

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