Page 1 of 1

Using TIME=1440 in JCL.

Posted: Thu Aug 04, 2016 2:42 pm
by Disha Shetty
Hi

I was seaching on google and got a post whcih goes like this:
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 accomodate 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.
Why 1440 is not allowed?

Re: Using TIME=1440 in JCL.

Posted: Thu Aug 04, 2016 4:07 pm
by Robert Sample
Because TIME=1440 is telling z/OS that this job can use as much CPU time as it wants. So if the job runs for the next six weeks, it still won't get timed out.

[ Post made via iPhone ] Image

Re: Using TIME=1440 in JCL.

Posted: Thu Aug 04, 2016 5:54 pm
by Marcels68
The modern version of TIME=1440 is TIME=NOLIMIT

Re: Using TIME=1440 in JCL.

Posted: Fri Aug 05, 2016 3:21 pm
by Anuj Dhawan
Marcels68 wrote: TIME=NOLIMIT
Pardon my ignorance but what is modern about it? I have used it around 11 years back! :yes:

Said that, do I sound old now! :D

The topic author is actually asking about why TIME=1440 is not allowed in production? And for that matter, TIME=NOLIMIT is just instructing exactly the same to system and so, as such, is not welcomed; and Robert has told why it is not a good practice.

Re: Using TIME=1440 in JCL.

Posted: Mon Aug 08, 2016 1:36 pm
by Shahid
So TIME=1440 and TIME=NOLIMIT are equal? Or they are different? If they are different when should we use which parameter?

Re: Using TIME=1440 in JCL.

Posted: Mon Aug 08, 2016 3:39 pm
by Robert Sample
The manual tells you they are the same and either can be used.

[ Post made via iPhone ] Image

Re: Using TIME=1440 in JCL.

Posted: Thu Aug 11, 2016 8:33 pm
by Disha Shetty
Thanks for all the answers.