SET MONITOR command

Controls the format and layout of variable names and values displayed in the Monitor window.

Read syntax diagramSkip visual syntax diagramSETMONITORCOLUMNDATATYPENUMBERSWRAPONOFFLIMITinteger;
COLUMN
Controls whether to display the output in the Monitor window in column format. The initial setting is SET MONITOR COLUMN ON. SET MONITOR COLUMN is accepted in batch mode, but has no effect.
DATATYPE
Controls whether to display the data type of the variable in the Monitor window. The initial setting is SET MONITOR DATATYPE OFF.
LIMIT integer
Controls the number of scrollable lines that z/OS® Debugger displays in the Monitor window. The default value for integer is 1000. If you specify a new value, it must be greater than or equal to 1000, but less than or equal to 30000.
NUMBERS (full-screen mode)
Controls whether to display line numbers in the Monitor window. The initial setting is SET MONITOR NUMBERS ON.
WRAP
Controls whether to wrap the output in the Monitor window. The initial setting is SET MONITOR WRAP ON. SET MONITOR WRAP is accepted in batch mode, but has no effect.
ON
Sets the corresponding switch to the following values:
COLUMN
Display the Monitor window output in column-aligned format.
DATATYPE
Display the data type attribute for variables in the Monitor window.
NUMBERS
Display line numbers in the Monitor window.
WRAP
Wraps the monitor value area variable in the monitor window.
OFF
Sets the corresponding switch to the following values:
COLUMN
Display the Monitor window output in non-column-aligned format.
DATATYPE
Do not display the data type attribute for variables in the Monitor window.
NUMBERS
Do not display line numbers in the Monitor window.
WRAP
Display the variable name and value on the same line in the monitor window. If any values are too long to display in the Monitor window, then the area becomes scrollable.

Usage notes

If you enter the SET MONITOR WRAP OFF command while the SET MONITOR COLUMN switch is set to OFF, the command is rejected because z/OS Debugger can only display values in one scrollable line when the setting of MONITOR COLUMN is ON. You must first enter the SET MONITOR COLUMN ON command.

If you enter the SET MONITOR COLUMN OFF command while the SET MONITOR WRAP switch is set to OFF, the command is rejected. The Monitor window must be in columnar format to be able to display values in one scrollable line. You must first enter the SET MONITOR WRAP ON command.

Monitoring large amounts of data might require large amounts of storage; this might cause a problem at some sites. Verify that there is enough storage to monitor large data items or data items that contain a large number of elements.

Example

  • Enter the following command to specify that you do not want line numbers displayed in the Monitor window:
    SET MONITOR NUMBERS OFF;
  • Enter the following command to specify that you do not want variable values to wrap to the next line:
    SET MONITOR WRAP OFF;