Displaying and modifying the value of LangX COBOL variables or storage

To display the contents of a single variable, move the cursor to an occurrence of the variable name in the Source window and press PF4 (LIST). The value is displayed in the Log window. This is equivalent to entering the LIST variable command on the command line.

For example, run the COB03O program to the CALL statement by entering AT 56 ; GO ; on the z/OS® Debugger command line. Move the cursor over LOAN and press PF4 (LIST). z/OS Debugger displays the following message in the Log window:

LIST ( 'LOAN ')
LOAN = 10000 

To change the value of LOAN to 100, type 'LOAN' = '100' in the command line and press Enter.

To view the attributes of variable LOAN, enter the following command:
DESCRIBE ATTRIBUTES 'LOAN'

z/OS Debugger displays the following messages in the Log window:

ATTRIBUTES for LOAN 
   Its address is 0002E500 and its length is 6
   LOAN PIC 999999 

To step into the call to COB03AO, press PF2 (STEP).