|
|
| Author |
Message |
murugan_mf
New User
Joined: 31 Jan 2008 Posts: 38 Location: Chennai, India
|
|
|
|
HI ALL,
I am getting the abend S322 feven though i have mentioned the maximum allowable time in the job card.
Can any one suggest me what could be the root causes for this abend?
so that I can sort it out. |
|
| Back to top |
|
 |
References
|
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3544 Location: Brussels once more ...
|
|
|
|
Talk with your systems people, S322 is a CPU time exceeded abend, based on your job class.
Even though you code a different time parameter on your jobcard, the system may well be configured to ignore that override and only use job class parameters for allocating CPU time. |
|
| Back to top |
|
 |
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 663
|
|
|
|
Hi,
you may not be allowed to put the maximum amount of time on your jobcard. The time may be site specific based on the job class.
Check with your SYSPROG.
Gerry |
|
| Back to top |
|
 |
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 288
|
|
|
|
Try using some other CLASS parameter . Most of the shop have been set like IF it coded in say CLASS A the pgm will run for 15 minutes in another class for say 30 minutes so on...
Even though u give time=1440 the default setting will overide what u specify in the JOB.
Check with your sysadmin |
|
| Back to top |
|
 |
karthikr44
Active User
Joined: 25 Aug 2007 Posts: 172 Location: Chennai
|
|
|
|
Hi,
It may also occur if indefinite loop occurs in ur program.
Regards
R KARTHIK |
|
| Back to top |
|
 |
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 663
|
|
|
|
Hi,
if time of 1440 or NOLIMIT is allowable it exempts the job from all CPU and wait time limit checking - the job can execute as long as it needs to. No S322 abend will occur for the job, so a loop will not abend the job.
Gerry |
|
| Back to top |
|
 |
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 288
|
|
|
|
Hi gcicchet,
| Quote: |
if time of 1440 or NOLIMIT is allowable it exempts the job from all CPU and wait time limit checking -
|
In our system we can use time=1440 , Even if we code that the job will ran only for the specified amount of time for that class
Am i thinking wrong??? |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1001 Location: Virginia, USA
|
|
|
|
| I would look at the programs involved and try to understand why they are taking so long instead of just blindly giving them more time! |
|
| Back to top |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2229 Location: Phoenix, AZ
|
|
| Back to top |
|
 |
Terry Heinze
Active User
Joined: 14 Jul 2008 Posts: 176 Location: Richfield, MN, USA
|
|
|
|
| Many shops will slap your hand (or worse) for attempting to use TIME=1440/NOLIMIT, and rightfully so! |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8732 Location: 221 B Baker St
|
|
|
|
Hello,
Better managed systems will not allow developers to submit a job with time=1440. They are automatically flushed as a jcl error.
There is never an acceptable reason for a developer to use time=1440. . . Even if the system is so poorly administered as to allow it. |
|
| Back to top |
|
 |
Terry Heinze
Active User
Joined: 14 Jul 2008 Posts: 176 Location: Richfield, MN, USA
|
|
|
|
| The only legitimate use of TIME=1440 I've ever run across was for a production CICS region. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8732 Location: 221 B Baker St
|
|
|
|
Hi Terry,
Yup,
Or other system tasks - i.e. database, tape management, scheduler, etc. . .
d |
|
| Back to top |
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1639 Location: germany
|
|
|
|
| permenant batch jobs, submitted as a started task. |
|
| Back to top |
|
 |
|
|