348 IBM Application Development Tools for z/OS and OS/390
10.1 Scenarios overview
We have one application which has been written to demonstrate the features of
the Application Development Tools. It is the Trader stock trading application. The
users of this application might be investors checking their holdings, or buying and
selling shares of stock. The application takes two forms:
CICS transaction
Batch job
Each form can access data on VSAM, DB2 or IMS/DB, also known as DL/I.
In the chapters that follow, we create scenarios based on the Trader application.
In each scenario, we deliberately introduce errors into the application to allow us
to demonstrate the functionality of the tools. We then describe, in detail, the
steps that you take to isolate the error and to correct the problem.
10.1.1 Overview of the programs
The Trader application is used to maintain a stock portfolio held by an individual.
This application enables you to:
Obtain quotes (in batch mode, you list portfolios and their values)
Buy more shares of a company’s stock
Sell currently held shares of a company’s stock
The Trader application uses two data sources:
Company data
Customer data
The company source contains the stock name and the past week’s quotes. The
customer source contains a record for each customer and company that he or
she owns, including the number of shares held.
It can be two VSAM files, two DB2 tables in the MYTRADD DB2 plan, or two IMS
DB PSB.
In the CICS application, the transaction input is taken directly from an online
user’s interactions. In the batch application, the user’s input is replaced with a
sequential file that contains several records that represent the day’s transactions.
Note: his application does not reflect real-world securities processing.It is
merely designed to demonstrate the features of the Application Development
Too l s.