Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Dectecting LOOPS Mainframe Batch Processing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
JCLfreak

New User


Joined: 07 May 2009
Posts: 3
Location: Hagerstown MD

PostPosted: Thu May 07, 2009 8:29 pm    Post subject: Dectecting LOOPS Mainframe Batch Processing
Reply with quote

What is the best way to detect a loop for a batch job? I believe that the no I/O should indicate this but then there are other issues.. and what about a write loop which would be very difficult to see?
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu May 07, 2009 8:42 pm    Post subject:
Reply with quote

Quote:
and what about a write loop which would be very difficult to see?
Not once you start running out of DASD or JES space.....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu May 07, 2009 8:42 pm    Post subject:
Reply with quote

Loops may include I/O or not -- a program reading directly the same VSAM record over and over, or writing output to spool -- so the only reliable indicators are (1) CPU time limit is hit, no matter what it is set to, or (2) a debugger is used to watch the execution. A loop with a write will usually generate messages about the number of lines being exceeded but that is determined by the site, and the program may possibly fill the spool space up, but CPU time limit exceeded I have found to be the best red flag to look at what is going on. Sometimes the number of records can cause the CPU to be exceeded, but that's fairly rare.
Back to top
View user's profile Send private message
JCLfreak

New User


Joined: 07 May 2009
Posts: 3
Location: Hagerstown MD

PostPosted: Thu May 07, 2009 10:20 pm    Post subject:
Reply with quote

I guess if you are monitoring in TMON then the I/O would not change for the input file?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu May 07, 2009 10:28 pm    Post subject: Reply to: Dectecting LOOPS Mainframe Batch Processing
Reply with quote

Probably not.

d
Back to top
View user's profile Send private message
JCLfreak

New User


Joined: 07 May 2009
Posts: 3
Location: Hagerstown MD

PostPosted: Thu May 07, 2009 10:46 pm    Post subject:
Reply with quote

I don't have a copy of the job.. It happened last week. The thing was processing almost 5 hours before someone finally saw that it was looping.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu May 07, 2009 11:31 pm    Post subject:
Reply with quote

Hello,

Suggest someone find out why the job was not "timed out" automatically. . .
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us