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
 

 

Using MAINVIEW to find system lockups

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
Paul Hacker

New User


Joined: 02 Oct 2008
Posts: 15
Location: Tyler, texas

PostPosted: Thu Jun 10, 2010 8:31 pm    Post subject: Using MAINVIEW to find system lockups
Reply with quote

Here is the problem:

Sometimes, rarely, we have a system lockup due to applications (on MVS, ZOS, CICS) going bonkers.

I'm being charged with, if this happens, to find the offending program and cancel it.

Now using MAINVIEW (BMC product) and the SDSF Log, is there a logical way to find such lockups?

Our systems programmer is away and this is one of the task laid on me!

Thanks for any pointers!
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 Jun 10, 2010 8:39 pm    Post subject:
Reply with quote

Hello,

How much of the system "locks up"? Do most jobs continue running? Does one particular cics have the problem?
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: Thu Jun 10, 2010 8:39 pm    Post subject:
Reply with quote

I go into Mainview, issue the command JCPUR to look at address spaces by CPU utilization -- if any are going "bonkers" that's most likely where they will show up.
Back to top
View user's profile Send private message
Paul Hacker

New User


Joined: 02 Oct 2008
Posts: 15
Location: Tyler, texas

PostPosted: Fri Jun 11, 2010 12:31 am    Post subject:
Reply with quote

Dick,

The whole system bogs down and locks up! It's a very rare occurance, sometimes Printways causes it and other times the HBO software has a 'bug' and that causes it.

Robert,

Thanks, I'll try that.

Paul
Back to top
View user's profile Send private message
Paul Hacker

New User


Joined: 02 Oct 2008
Posts: 15
Location: Tyler, texas

PostPosted: Fri Jun 11, 2010 12:57 am    Post subject:
Reply with quote

How to find if a COBOL program is looping, thru Mainview

If you want to know if a program is looping (on mainframe) and if you have Mainview for MVS, then

1. Go to JCPUR which shows realtime job CPU utilization

2. Place the cursor on the job you are interested in and hit enter

3. It'll take you to EZMJOBR window

4. Under SYSPROG Service, you'll find "MVScope CPU Tracing". Place your cursor there and hit enter

5. Then place your cursor on "Begin CPU Trace" and hit enter. It'll start CPU tracing.

6. Once it finishes, see if it shows any one particular statement. If so, it could mean, the program was in a loop during the trace period.

7. Get the Offset info, go to the compile listing and search for the Offset under HEXLOC (you may not find the exact offset, but the one just before this value is good enough). Get the line number and get the statement that was in loop.
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 11, 2010 1:54 am    Post subject:
Reply with quote

Hello,

Thanks for the info icon_smile.gif

Do keep in mind though - A single cobol application program, in the tightest loop, should not "shut down"/"lock up" a mainframe. . .

If it happens to be a cics program, it should timeout rather quickly. . .
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 11, 2010 2:11 am    Post subject: Reply to: Using MAINVIEW to find system lockups
Reply with quote

posting the same question on multiple forums is considered bad netiquette!

the people watching the mvs related forums are mostly the same
and is annoying to see the same question asked more than once

posting twice will not get You double answers in the same time or the same number of answers in half time
Back to top
View user's profile Send private message
Paul Hacker

New User


Joined: 02 Oct 2008
Posts: 15
Location: Tyler, texas

PostPosted: Fri Jun 11, 2010 7:04 pm    Post subject:
Reply with quote

Sorry about that enrico. Didn't know many people view both forums.

Now the last time we had a lockup it was cause by an assembly languguage program called through a COBOL program. The vendors fixed that with a patch they sent us after the excitement!

Thanks for the help guys.
Paul
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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