MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

infinite looping

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
chandra_vssv
Beginner


Joined: 08 May 2005
Posts: 26
Topics: 12
Location: pune

PostPosted: Tue Sep 04, 2007 1:54 pm    Post subject: infinite looping Reply with quote

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
View user's profile Send private message Yahoo Messenger
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Tue Sep 04, 2007 1:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
chandra_vssv
Beginner


Joined: 08 May 2005
Posts: 26
Topics: 12
Location: pune

PostPosted: Tue Sep 04, 2007 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Sep 04, 2007 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Tue Sep 04, 2007 4:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
chandra_vssv
Beginner


Joined: 08 May 2005
Posts: 26
Topics: 12
Location: pune

PostPosted: Tue Sep 04, 2007 6:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Sep 05, 2007 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group