27.12.2012 Views

International Technical Support Organization Database Systems ...

International Technical Support Organization Database Systems ...

International Technical Support Organization Database Systems ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

an EREP report. The MDRs can also be seen online using the NetView<br />

Hardware Monitor (or an equivalent) product. These records contain<br />

information on why the resource became INOP. They are very useful for<br />

problem determination.<br />

• Are all users that are in session working and only those that are causing a<br />

session to be established hung?<br />

In this circumstance, the problem could be a VTAM problem. Remember<br />

that most of the send and receive data processing is done in the user′s<br />

address space. All session establishment is done in VTAM′s address space.<br />

Check the following areas:<br />

− VTAM commands<br />

Do VTAM commands work? If they do, VTAM is working. If they do not,<br />

VTAM may be in a wait (unlikely) or loop (more likely) or perhaps is<br />

unable to get a share of the CPU.<br />

− CPU usage<br />

Does any particular address space have very high CPU utilization? If so,<br />

monitor this, as the address space could be in a loop.<br />

− VTAM paging<br />

Is VTAM doing a large amount of paging? If so, what looks like a loop in<br />

VTAM could be VTAM running a very long chain of control blocks.<br />

• Are all users hung?<br />

If so, this is could be a more fundamental problem with the operating<br />

system. Check whether any MVS commands are working.<br />

In any hang situation, the results (or lack of results) from a variety of displays<br />

can give a clear picture of the scope of the problem. The more information that<br />

is available, the easier the problem diagnosis is, and, usually, the faster the<br />

resolution will be. It is a discouraging and time-consuming task to try to find a<br />

problem in a VTAM dump when all you know is that there is a hang.<br />

If the hang only occurs on a session when one particular request is made, often<br />

a VTAM buffer trace can be used to see the last PIUs flowing on the session.<br />

These PIUs can often hold the key to the problem.<br />

Loops<br />

When a loop is suspected, a variety of actions can be taken:<br />

• CPU usage<br />

Usually a loop can be readily found by displaying CPU usage. Of course, it<br />

is necessary to have some idea of “normal” CPU usage for the suspected<br />

address space, for comparison purposes. In general, any address space<br />

using an unusually high amount of CPU should be suspect.<br />

• Paging rates<br />

The paging rates can be monitored to check for any abnormally high rates.<br />

Of course, “normal” usuage is again needed for comparison purposes.<br />

• Loop recording<br />

The 3090 and 308X CPUs have a hardware facility to record up to 490 PSWs.<br />

This facility is activated from the hardware console and can be used to trace<br />

a loop. The output is dumped when an SVC or stand-alone dump is taken.<br />

Chapter 6. Problem Determination 217

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!