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
 

 

Automatic process to identify jobs that went to loop

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
k_rajen1

New User


Joined: 03 Jun 2009
Posts: 13
Location: Hyderabd

PostPosted: Fri Jun 26, 2009 12:47 pm    Post subject: Automatic process to identify jobs that went to loop
Reply with quote

Hello,

I would like to know if there is any automatic process to identify jobs that went to loop during runtime.

As per my understanding if Expection count is not increasing and CPU % is increasing then the job would be in loop, now i want to know is there any process which can identify this one with out user mointring.

Regards,
Rajendra K.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Jun 26, 2009 1:26 pm    Post subject: Reply to: Looping of jobs
Reply with quote

NO...
the CPU consumption depends on the application/program <work to do>

the TIME parameter is there exactly to avoid that
at testing time You would discover approximately the resource need,
maybe after a couple of abends icon_biggrin.gif
and when creating the production jcl You would be able to to use the proper TIME parameter
Back to top
View user's profile Send private message
k_rajen1

New User


Joined: 03 Jun 2009
Posts: 13
Location: Hyderabd

PostPosted: Fri Jun 26, 2009 2:07 pm    Post subject:
Reply with quote

enrico,

Thanks for infroamtion provided.

But my issue is if there is a job which runs for long time, we need to use a maximum time parameter, in this scenario how can we identify if the job went that went into loop.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Jun 26, 2009 2:08 pm    Post subject: Reply to: Looping of jobs
Reply with quote

proper testing
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Jun 26, 2009 4:57 pm    Post subject:
Reply with quote

One rule of thumb: if you give the job more time, and it still has the S322 abend, there may program looping involved.

That said, there is no absolute standard for this. One job may require 60 minutes of CPU time to do the work while another needs 10 seconds. Is the first one looping just because it uses 360 times the CPU? No, it just has more work to do. Experienced programmers have a rough feel for how much time the job should run, but they are not always accurate.

If your site is licensed to use one of the run time analyzers, running it on a program suspected of looping will help you identify where the program is spending its time.
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: Fri Jun 26, 2009 9:01 pm    Post subject:
Reply with quote

Hello,

A job that does not abend with a time out may still in fact be looping - just not fatally. . . For example, some loop always processes all 10,000 entries in an array even though it could/should have quit the loop on the first "hit".

The easy ones to spot are the ones that abend. . . The ones that simply waste tremendous amounts of system resource may take a bit of work to identify.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm


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