Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 3 Sat May 06, 2017 12:59 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us