Using the %STORAGE function with COBOL
This z/OS® Debugger function
allows you to reference storage by address and length. By using the
%STORAGE
function
as the reference when setting a CHANGE
breakpoint,
you can watch specific areas of storage for changes. For example, to monitor eight bytes
of storage at the hex address 22222
for changes,
enter: AT CHANGE %STORAGE (H'00022222', 8)
LIST 'Storage has changed at Hex address 22222'