View previous topic :: View next topic
|
Author |
Message |
shirishkamble
New User
Joined: 26 Mar 2007 Posts: 1 Location: Mumbai, India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
vssmca2000
New User
Joined: 06 Oct 2004 Posts: 1 Location: Bangalore
|
|
|
|
Since your CLASS is D the job will abend with S322.
Thanks,
Sairam Srinivas. V |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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.
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 |
|
|
|