DB batch environment
The batch environment consists of a batch region—one address space—where an application program and DL⁄I routines reside. The batch job that runs here is initiated with JCL, like any operating-system job.
The following figure represents a batch environment in which the batch job is submitted through a TSO terminal, and an application program is run in order to read from an update file, write to a database, and produce a report. For example, an inventory application might be run—one that reads sales records (inventory reductions) and supply records (inventory increases), updates a database accordingly, and prints an inventory sales report.
