IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

The CLASS in JCL and JCL execution time


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Fri May 18, 2007 1:25 pm
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

Superior Member


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

PostPosted: Fri May 18, 2007 1:56 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Fri May 18, 2007 3:00 pm
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
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

Superior Member


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

PostPosted: Wed Oct 03, 2007 12:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top