
Chapter 27. Scenario 2: Using Debug Tool 493
Example 27-4 Batch Trader application Transaction report listing BUY shares
----------------------------------------------------------------------------
CUSTOMER COMPANY QTY REQ-TYP STATUS
----------------------------------------------------------------------------
RB_DEMO IBM 30 BUY PROCESSED
RB_DEMO Veck_Transport 25 BUY PROCESSED
27.2.5 Selling shares
If the field, TR-REQUEST-TYPE, contains the value, BUY_SELL, and the field, TR-SUB-TYPE,
contains a value of 2, the program processes a request to sell the number of shares in
TR-NO-OF-SHARES.
After the process completes successfu