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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 3 Sat May 06, 2017 12:59 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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