IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Execution time of Job where TIME = 1440


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ksikdar

New User


Joined: 30 Jun 2006
Posts: 13

PostPosted: Wed Mar 07, 2007 3:34 pm
Reply with quote

Hi all,
Can some one tell me what is the execution time required for the job where in the JOBCARD it is mentioned that TIME = 1440 ?
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Wed Mar 07, 2007 3:47 pm
Reply with quote

Hi,

When the job executes more than normal time(depending upon the class) the job will abend saying time exceeded (or) it will be cancelled by the operator.

To avoid this abend we are giving the parameter as 1440 which is equivalent to time = nolimit.

Execution time will depend upon the job, in general we cannot say the how much time a job can run.

From the Manuals:

Quote:
By coding TIME=1440 or TIME=NOLIMIT, the TIME parameter can instead be used to give a job or step an unlimited amount of time. Specifically, the system allows a step to remain in a continuous wait state for an unlimited time, rather than the time limit established through SMF. However, if TIME=1440 is specified on the JOB statement, any TIME values on an EXEC statement and any default TIME values will be nullified. All steps within the job will have unlimited time, as with TIME=1440 or TIME=NOLIMIT.

To allow a job or step to use the maximum amount of time, code TIME=MAXIMUM. Coding TIME=maximum allows the job or step to run for 357912 minutes.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Mar 10, 2007 10:05 pm
Reply with quote

ksikdar,

I would like add some more.

time=1440 will be equal to 24 Hrs of CPU time, which will cost a lot, nearly $34,000 only for a single JOB(if JOB does not end even after 24 Hrs, which is unlikely), at least in my shop.


If you want to know the actual CPU time used for execution of some JOB,
then go JESMSGLG & give a search on 'Unnormalized CPU time'
You will get some message like this

Unnormalized CPU time: 0.05 seconds

This is the execution time of JOB.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Mar 11, 2007 1:02 am
Reply with quote

Hello,

Do not specify TIME=1440 on your job - even if your site doesn't automatically flush your job (many do). TIME=1440 is not a proper choice for programmers to make.

If you are trying to prevent a time-out abend, see your systems support or operations people. Your site probably has different job classes for different resources required. There may be a class already defined that will accommodate your cpu time requirement. If not, they can tell you what you need to do.

It would be good to determine just why the amount cpu time is needed. If your job processes many millions of records, it may very well not run in the same class that supports compiles and small testing.

If there are still questions after talking with your systems/operations people, please let us know.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top