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
 

 

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: 7989
Location: Bellevue, IA

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 FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 1 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm


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