Finding unexpected storage overwrite errors in LangX COBOL

While your program is running, some storage might unexpectedly change its value and you want to find out when and where this happened. Suppose in the example described in Getting a LangX COBOL program traceback, the program finds the value of LOAN unexpectedly modified. To set a breakpoint that watches for a change in the value of LOAN, enter the following command:

AT CHANGE 'LOAN';

When the program runs, z/OS® Debugger stops if the value of LOAN changes.