Monitoring the value of variables in hexadecimal format

You can monitor the value of a variable in either the variable's declared data type or in hexadecimal format. To monitor the value of a variable in its declared data type, follow the instructions described in Adding variables to the Monitor window. If you monitor a PL/I variable in hexadecimal format by using the PL/I HEX built-in function, you cannot edit the value of the variable by typing over the existing value in the Monitor window. Instead of using the PL/I HEX built-in function, us the commands described in this topic.

To monitor the value of a variable or expression in hexadecimal format, do one of the following instructions:

  • If the variable is already being monitored, enter the following command:
    MONITOR n HEX ;

    Substitute n with the number in the monitor list that corresponds to the monitored expression that you would like to display in hexadecimal format.

  • If the variable is not being monitored, enter the following command:
    MONITOR LIST (expression) HEX ;

    Substitute expression with the name of the variable or a complex expression that you want to monitor.

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