Working with the phone application scenario

The phone application retrieves information from a phone directory and updates employee phone numbers.

About this task

The phone application is used in phase 2 (batch mode), phase 3 (CAF), and interactively in phase 4 (IMS) and phase 5 (CICS®).

The phone directory consists of data from a combination (join) of the employee table (DSN8D10.EMP) and the department table (DSN8D10.DEPT). This joined view is called VPHONE. The program also uses a second view called VEMPLP to update the employee table, which does not affect a view that joins tables.

The phone application is designed to operate in batch and interactively in ISPF/TSO, IMS, and CICS. The following table describes the environments in which each phone application operates and the language in which each is written.

Table 1. Phone programs
Environment Language Name
ISPF/TSO COBOL DSN8SC3
ISPF/TSO PL/I DSN8SP3
IMS PL/I DSN8IP3
CICS PL/I DSN8CP3
batch COBOL DSN8BC3
batch Fortran DSN8BF3
batch PL/I DSN8BP3
batch C DSN8BD3