Changing the value of a variable
After you see the value of a variable, you might want to change the value. If, for example, the assigned value isn't what you expect, you can change it to the desired value. You can then continue to study the flow of your program, postponing the analysis of why the variable wasn't set correctly.
Changing the value of a variable depends on the programming language
that you are debugging. In z/OS® Debugger, the rules and methods for the assignment
of values to variables are the same as programming language rules
and methods. For example, to assign a value to a C variable, use the
C assignment rules and methods:
var = 1 ;Refer to the following topics for more information related to the material discussed in this topic.