
Chapter 13. Scenario 2: Using Debug Tool 391
13.2 Walkthrough of the batch Trader application
The batch Trader application is used to maintain stock portfolios held by
individuals. You execute a batch job that processes a day’s worth of trading
activity, which:
Lists portfolios and their value
Buys shares of a company’s stock
Sells shares of a company’s stock
13.2.1 The Trader batch job
The batch job that executes the Trader application is shown in Example 13-1.
Example 13-1 JCL to run the batch Trader application
//DAVINR2R JOB (123,A,TESTING,'WILFRIED'),'ENHANCE',
// CLASS=A,MSGCLASS=H,MSGLEVEL=(1,1),
// REGION=32M,NOTIFY=&SYSUID ...