Is It a LOOP?
Symptoms of a loop include the continual repetition of messages or the continual repetition of a set of instructions. Repeated messages appear in the log file or the console of a virtual machine or in a report file. Review the log file, the console, or the report file.
BEGINto resume processing.
#CP SPOOL CONSOLE START * #CP TRACE INST RUNto display the instructions being processed.
As soon as the command is accepted by CP, the instructions are displayed as they are processed. If nothing is displayed, then the virtual machine is in a wait state and should be handled as such.
If instructions are displayed, then the application is doing work. Check the addresses associated with each instruction closely. Repeating addresses indicate that a loop exists. The repetition of addresses may be noticed immediately or it may take some time to observe it. Be patient. If no repetition of addresses is noticed after a reasonable length of time, then no loop exists.
Once you have determined that instructions are being repeated, you must dump the virtual machine.
#CP TRACE END ALLto stop the trace.
#CP TRACE INST NORUNto place the virtual machine in single-instruction execution mode.
VMDUMP 0:END FORMAT DFSMS * loop in smsmaster SPOOL CONSOLE CLOSE DUMPLOAD SPOOL NOPRINT This
could result in a large file and may require a large file space. For
additional information about DUMPLOAD, see z/VM: CP Commands and Utilities Reference.