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
 

 

What is the maximum CPU execution time
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kvelisetti
Currently Banned

New User


Joined: 18 Oct 2012
Posts: 9
Location: india

PostPosted: Thu Oct 18, 2012 2:40 pm    Post subject: What is the maximum CPU execution time
Reply with quote

What is the maximum CPU execution time for a job and give the code? If this time is exceeded with which code does the job abend?
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7228

PostPosted: Thu Oct 18, 2012 2:52 pm    Post subject: Reply to: job time
Reply with quote

1) Look at the manual (link at the top of the page)
2) Test it out
3) You forgot to ask Opal to make a cup of tea for you
Back to top
View user's profile Send private message
kvelisetti
Currently Banned

New User


Joined: 18 Oct 2012
Posts: 9
Location: india

PostPosted: Thu Oct 18, 2012 3:02 pm    Post subject:
Reply with quote

TIME=1440 that implies a day but i heard it as 8 months and 25 days.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7228

PostPosted: Thu Oct 18, 2012 3:06 pm    Post subject: Reply to: job time
Reply with quote

And what do you understand when you read about it?
Back to top
View user's profile Send private message
kvelisetti
Currently Banned

New User


Joined: 18 Oct 2012
Posts: 9
Location: india

PostPosted: Thu Oct 18, 2012 3:16 pm    Post subject:
Reply with quote

sorry to say i cannot access the forums.
does 'TIME=MAXIMUM' exist?
if not how to specify maximum time for execution of a job?
also please give a brief explanation of my first question.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7228

PostPosted: Thu Oct 18, 2012 3:32 pm    Post subject: Reply to: job time
Reply with quote

Look at the JCL manuals. There is a link at the top of the page if they are not otherwise available to you at your site.

What you are asking/wanting is too simple to explain. If you have a problem with a potentially enormously long-running job, talk to your site support.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Oct 18, 2012 3:37 pm    Post subject:
Reply with quote

Quote:
TIME=1440 that implies a day but i heard it as 8 months and 25 days.


TIME=1440 is "forever". There are 1440 minutes in a day and the counter wraps to zero after 1439, so the jobs never reaches 1440 and therefore never gets cancelled. This is equivalent to TIME=NOLIMIT.

The default time limit is installation-dependent and job/step will abend S322 when this is exceeded. If the TIME= parameter specifies less than 1440, then the job/step will abend S322 if the specified time is exceeded .

Garry.
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Thu Oct 18, 2012 3:44 pm    Post subject:
Reply with quote

hi & welcome to forum kvelisetti

please check the below link this might be helpfull

http://ibmmainframes.com/about359.html
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Oct 18, 2012 3:51 pm    Post subject:
Reply with quote

Even for 1439 you got to give strong justification and is often rejected ... icon_wink.gif
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Oct 18, 2012 4:08 pm    Post subject:
Reply with quote

Quote:
Even for 1439 you got to give strong justification and is often rejected ...


I always use it for my online regions - CICS, DB2, IMS, MQ - never an issue ... icon_cool.gif

Garry
Back to top
View user's profile Send private message
kvelisetti
Currently Banned

New User


Joined: 18 Oct 2012
Posts: 9
Location: india

PostPosted: Thu Oct 18, 2012 4:20 pm    Post subject:
Reply with quote

hi vin,
does time=1440 implies time=nolimit.
also when we specify time=1440 you mentioned that cpu doesnt care about the execution time and keeps on execting.
my point here is how much time will it execute?
Back to top
View user's profile Send private message
kvelisetti
Currently Banned

New User


Joined: 18 Oct 2012
Posts: 9
Location: india

PostPosted: Thu Oct 18, 2012 4:22 pm    Post subject:
Reply with quote

hi garry 'forever' implies how much time i mean does it end in few months or years or does it still run?
if it ends in specific time is it same for all the mainframe vendors or does it defer?
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7228

PostPosted: Thu Oct 18, 2012 4:27 pm    Post subject: Reply to: job time
Reply with quote

Read Garry's first post.

What other mainframe manufacturers?

TIME=MAXIMUM has a limit. TIME=NOLIMIT does not. TIME=1440 is as Garry has said it is.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Oct 18, 2012 4:30 pm    Post subject:
Reply with quote

kvelisetti wrote:
hi garry 'forever' implies how much time i mean does it end in few months or years or does it still run?
if it ends in specific time is it same for all the mainframe vendors or does it defer?


With TIME=NOLIMIT or TIME=1440, the job will keep running until cancelled by external intervention or on (e.g.) system failure.

It should be the same for all instances of MVS, z/OS operating systems regardless of machine though I have no experience of any non-IBM mainframe vendor.

Garry.
Back to top
View user's profile Send private message
kvelisetti
Currently Banned

New User


Joined: 18 Oct 2012
Posts: 9
Location: india

PostPosted: Thu Oct 18, 2012 4:32 pm    Post subject:
Reply with quote

bill,
thats what i mean.
time=1440 is continous but does it end or not?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Thu Oct 18, 2012 4:37 pm    Post subject:
Reply with quote

kvelisetti, you need to be aware that there is NO relationship between CPU time as coded on the TIME= parameter of the JOB statement in JCL and the amount of elapsed time the job will run. The amount of elapsed time depends upon the mix of jobs in the system, the number of jobs in the system, the relative priorities of those jobs, their use of CPU and I/O devices, and many other factors. A job that takes 15 seconds of CPU time at my shop can complete in 3 minutes when the system is not busy -- but when the system is busy, the same job has taken 8 hours or more to complete, even though the CPU time was the same.
Back to top
View user's profile Send private message
kvelisetti
Currently Banned

New User


Joined: 18 Oct 2012
Posts: 9
Location: india

PostPosted: Thu Oct 18, 2012 4:44 pm    Post subject:
Reply with quote

Thank you robert. but my trainer mentioned it as 8 months and 25 days.
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Thu Oct 18, 2012 5:00 pm    Post subject: Reply to: job time
Reply with quote

Time=1440 (= 60 x 24 ) "Round the clock"
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Oct 18, 2012 5:08 pm    Post subject:
Reply with quote

kvelisetti wrote:
bill,
thats what i mean.
time=1440 is continous but does it end or not?


The job will continue to run as long as any executing program in the job does not complete (either normally or abnormally) . Once a step completes, the job moves on to the next (if any) step (depending on condition codes) and when the last step completes, the job ends.

Garry.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7228

PostPosted: Thu Oct 18, 2012 5:10 pm    Post subject: Reply to: job time
Reply with quote

This is hard work :-)

You mention a trainer. There is our "sister" site www.ibmmainframeforum.com which may be more appropriate for you.

There are 24 hours in a day. If you have a job running "all day" the CPU time used is going to be substantially less than 1440 minutes.

What 1440 means, is that there is no limit to the amount of CPU time that can be used by the JOB (if specified there) or the STEP (unless the JOB limits).

There is a maximum amount of TIME that you can specify. This will be your eight months thing. This is with TIME=MAXIMUM or by coding it out (the JCL manual gives you the numbers to put in).

If you actually code that, it would probably allow your job to run for a considerable number of years, all other things being equal.

TIME=1440 = TIME=NOLIMIT = No limit (except by TIME on JOB card if specified for a step).

The things that run "forever" are not things you will be involved with, most likely, other than by using them (look at the list Garry provided, ask your "trainer" about "started tasks").
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
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts cics & real time monitoring icehat CICS 5 Wed Sep 07, 2016 2:29 am
No new posts Get system time in micro second or cl... lind sh CICS 11 Mon Sep 05, 2016 11:14 pm


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