Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
The CLASS in JCL and JCL execution time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
shirishkamble

New User


Joined: 26 Mar 2007
Posts: 1
Location: Mumbai, India

PostPosted: Fri May 18, 2007 12:24 pm    Post subject: The CLASS in JCL and JCL execution time
Reply with quote

Hi,

I have defined CLASS=D parameter in my JCL where for class D the CPU time permitted is 30 minutes.

If my program being executed by the job goes in infinite loop then,

1. Will my job gets canceled after 30 minutes?
2. Under which circumstances it will not get canceled? Pl. elaborate on this.

Thank you very much.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri May 18, 2007 1:25 pm    Post subject:
Reply with quote

Quote:
1. Will my job gets canceled after 30 minutes?

Technically no, it will abend S322 after 30 minutes of CPU time has been consumed. However if you have an attentive operator, they may cancel the job after 30 minutes, and if you are lucky, cancel it with a dump.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri May 18, 2007 1:56 pm    Post subject:
Reply with quote

Quote:

Technically no, it will abend S322 after 30 minutes of CPU time has been consumed. ...a dump.


Expat,

Even if one code TIME=1440 (ideally we must avoid this, still out of curiosity if I code it) with the CLASS=D of above example.
What'll happen, Would the JOB still abends with time-abend S322 ?
Back to top
View user's profile Send private message
vssmca2000

New User


Joined: 06 Oct 2004
Posts: 1
Location: Bangalore

PostPosted: Fri May 18, 2007 2:02 pm    Post subject: The CLASS in JCL and JCL execution time
Reply with quote

Since your CLASS is D the job will abend with S322.

Thanks,
Sairam Srinivas. V
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri May 18, 2007 3:00 pm    Post subject:
Reply with quote

anuj_model

That depends on how your sysprogs have set it up. If they ignore any TIME= parameters then coding TIME=1440 will not change anything. If they allow you to override system specifics, then the job will loop forever.

Unfortunately, one of those site specific questions.

vssmca2000

Quote:
Since your CLASS is D the job will abend with S322.


Again, site specific
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Fri May 18, 2007 6:52 pm    Post subject: Re: The CLASS in JCL and JCL execution time
Reply with quote

HI shirishkamble,

It all depends on your shop setup. Classes are all predefined with their priorities and time periods. It deferes from stop to shop. When the program goes to infinite loop, it shouldn't abend even though itz call has lower priority
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Wed Oct 03, 2007 12:36 pm    Post subject:
Reply with quote

Hi expat,

Thanks for the explanation.

I think on every site, where you were/are from one of the 'Storage Guy', I'll not be allowed to do that. icon_smile.gif


P.S.: Sorry for such a delayed appreciation, I think this is due to the feactures of any Forum, once you lost the track of a thread..it's lost for a quite time, till you don't look back.
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 question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us