Using TIME=1440 in JCL.

JES2/3, JCL, utilities.
Post Reply
Disha Shetty
Registered Member
Posts: 20
Joined: Sat Aug 17, 2013 4:54 pm

Using TIME=1440 in JCL.

Post 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?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Using TIME=1440 in JCL.

Post 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
Marcels68
New Member
Posts: 1
Joined: Thu Aug 04, 2016 5:52 pm

Re: Using TIME=1440 in JCL.

Post by Marcels68 »

The modern version of TIME=1440 is TIME=NOLIMIT
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Using TIME=1440 in JCL.

Post 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.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Shahid
Registered Member
Posts: 47
Joined: Sun Aug 25, 2013 1:00 am

Re: Using TIME=1440 in JCL.

Post by Shahid »

So TIME=1440 and TIME=NOLIMIT are equal? Or they are different? If they are different when should we use which parameter?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Using TIME=1440 in JCL.

Post by Robert Sample »

The manual tells you they are the same and either can be used.

[ Post made via iPhone ] Image
Disha Shetty
Registered Member
Posts: 20
Joined: Sat Aug 17, 2013 4:54 pm

Re: Using TIME=1440 in JCL.

Post by Disha Shetty »

Thanks for all the answers.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”