Restriction: This topic applies to native COBOL only.
The
Memory window enables you to view and monitor the contents of the memory, and edit data in writable containers.
To display the window, click
Debug > Windows > Memory > Memory
n in debug mode.
Use the
Memory window to:
Search the memory by typing any of the following in the
Address field:
A data item
The address of a data-item -
address of
varname
A pointer reference - for example,
varnamepointer
A memory address such as
H"nnnnnnnn"
An expression
Monitor the contents of the memory - any values that change during the execution of the program are displayed in red.
View the contents of the memory in hexadecimal or decimal display mode:
Right-click in the window and select the display mode you prefer.
Change the values of the memory:
Right-click a value in the window and select
Edit Value.
View the data in a CICS container by right-clicking a container in the
CICS Channelswindow
, and dragging and dropping it into the
Memory window.
Edit data in a writable CICS container as hexadecimal data:
Note: A writable CICS container appears in the
CICS Channelswindow
with the
Read-Only column set to
False.
If currently in decimal display mode, switch to hexadecimal display mode by right-clicking in the
Memory window and selecting
Hexadecimal Display from the context menu.
While in hexadecimal display mode, edit the data as necessary.
Note: Data changes made to CICS container data are reflected in the
CICS Channelswindow
.