View previous topic :: View next topic |
Author |
Message |
chandra_vssv Beginner

Joined: 08 May 2005 Posts: 26 Topics: 12 Location: pune
|
Posted: Tue Sep 04, 2007 1:54 pm Post subject: infinite looping |
|
|
Hi,
I have a job in production which executes for 30 min , sometimes it will take more than that, from past few days i am cancelling the job after 2hrs , when i look at the cpu and excp count its not moving and so i have to cancell the job when ever it goes into loop, but we receive an alert that was coded in ESP after 4Hrs which is of no use.Is there anyway that job can be cancelled by it self when ever it loops, instead of veryfying the job CPU and excp-cnt and cancelling the job manually. _________________ Regards,
Chandu |
|
Back to top |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Tue Sep 04, 2007 1:57 pm Post subject: |
|
|
As far as I know, if the CPU was not increasing, it would be more of a wait rather than a loop...... Did I read your statement correctly? |
|
Back to top |
|
 |
chandra_vssv Beginner

Joined: 08 May 2005 Posts: 26 Topics: 12 Location: pune
|
Posted: Tue Sep 04, 2007 2:09 pm Post subject: |
|
|
Thanks Guy for your quick response.
That jobs was not taking any chekpoints either, so i chekced CPU and EXCp-cnt , they were not moving .i waited for 30 min and i thought it was not doing anything and i checked the sysout of the last ran step, i found ZTBFAM09 - TIMEOUT - U1050. Then i cancelled that job. It happened many times and we started monitoring that job when it started executing which is really killing our time.As we have to monitor many jobs and by chance if someone missed this job and it will be in execution status and will receive an alert after 4 hours, if we recommend schedulers to move this alert to somewhat before then also no use as sometimes it will take 3 hrs to run , so this job should get cancelled by itself when it loops. _________________ Regards,
Chandu |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Sep 04, 2007 3:12 pm Post subject: |
|
|
Quote: |
i found ZTBFAM09 - TIMEOUT - U1050
|
Is your cobol pgm a VS COBOL II pgm?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Tue Sep 04, 2007 4:30 pm Post subject: |
|
|
chandra_vssv wrote: | so this job should get cancelled by itself when it loops. | Again, Iit is not looping, it is waiting...There are tools and dump analyzes that can identify the actual wait..... |
|
Back to top |
|
 |
chandra_vssv Beginner

Joined: 08 May 2005 Posts: 26 Topics: 12 Location: pune
|
Posted: Tue Sep 04, 2007 6:17 pm Post subject: |
|
|
Kolusu,
I dont know which cobol program the job was using .I just monitor those jobs , if something goes wrong we inform application folks or sometimes we take decisions based on the time left for online to comeup.This is a batch job and should complete before onlines, but these days i am cancelleing it as it was sitting in ESP for longtime.What is the best way that i can suggest my application folks about this job.Otherwise i have to monitor this job till it completes.Even though there was an alert coded in ESP for this job but it will throw after 4 hours before that if this job sits in ESp doing nothing is of no use. _________________ Regards,
Chandu |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Sep 05, 2007 8:49 am Post subject: |
|
|
If the job is waiting, there are many possibilities:
1) Tape mount or other unsatisified request
2) ENQ lockout with another job
3) System performance settings that relegate the job to "low priority" status
Do you have RMF Monitor III (or other tools) available to see why the job is not getting service? _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
|
|