Monitor window

The Monitor window displays the names and values of variables selected by the SET AUTOMONITOR or MONITOR commands.

The following diagram shows the default Monitor window and highlights the parts of the Monitor window:

COBOL    LOCATION: DTAM01 :> 109.1                                             
Command ===>                                                   Scroll ===> PAGE
MONITOR -+----1----+----2----+----3----+----4----+----5----+----6- LINE: 1 OF 7
******************************** TOP OF MONITOR *******************************
                                  -----+----1----+----2----+- 1 --3----+----4--
0001  1 NUM1                      0000000005                                   
0002  2 NUM4                     '1111'           2                             
0003  3 WK-LONG-FIELD-2          '123456790 223456790 323456790 423456790 5234 
0004       3                      56790 623456790 723456790 8234567890 9234567 
0005                              90 023456790 123456790 223456790 323456790 4 
0006  4                           23456790 5234567890 623456790 723456790 8234 
0007  4 HEX-NUM1                X'ABCD 1234'
 1 
Monitor value scale, which provides a reference to help you measure the column position in the Monitor value area.
 2 
Monitor value area, where z/OS Debugger displays the values of the variables. z/OS Debugger extends the display to the right up to the full width of the displayable area of the Monitor window.
 3 
Monitor name area, where z/OS Debugger displays the names of the variables.
 4 
Monitor reference number area, where z/OS Debugger displays the reference number it assigned to a variable.

When you enter the MONITOR LIST, MONITOR QUERY, MONITOR DESCRIBE, and SET AUTOMONITOR commands, z/OS Debugger displays the output in the Monitor window. If this window is not open, z/OS Debugger opens it when you enter a MONITOR or SET AUTOMONITOR command.

By default, the Monitor window displays a maximum of 1000 lines. You can change this maximum by using the SET MONITOR LIMIT command. However, monitoring large amounts of data can use large amounts of storage, which might create problems. Verify that there is enough storage available to monitor large data items or data items that contain a large number of elements. To find out the current maximum, enter the QUERY MONITOR LIMIT command.

Refer to the following topics for more information related to the material discussed in this topic.