Displaying the results of COBOL expression evaluation

Use the LIST command to display the results of your expressions. For example, to evaluate the expression and displays the result in the Log window, enter:
LIST a + (a - 10) + one;
You can also use structure elements in expressions. If e is an array, the following two examples are valid:
LIST a + e(1) ⁄ c * two;
LIST xx ⁄ e(two + 3);
Conditions for expression evaluation are the same ones that exist for program statements.

Refer to the following topics for more information related to the material discussed in this topic.