
Chapter 14. Scenario 3: Is the error in DB2 data or program logic 423
Conclusion 1: The buy process actually
zeros the value; therefore, the
display shows zero number of shares.
You continue the debugging session to review the Sell processing portion of
the program.
15.Press PF9.
The Options panel is displayed.
16.Select Option 3 and press Enter.
17.Enter 5 in the Number of Shares to Sell field.
18.Press PF2 to step through the program one line at a time. You continue to
watch the value of NO-SHARES in the Monitor window.
You can see that the value of NO-SHARES after the READ-CUSTOMER-TABLE
paragraph is executed is 0, as shown in Figure 14-13.
Figur ...