Sample applications supplied with Db2 for z/OS

Db2 provides sample applications to help you with Db2 programming techniques and coding practices within each of the four environments: batch, TSO, IMS, and CICS®. The sample applications contain various applications that might apply to managing a company.

This topic describes the Db2 sample applications and the environments under which each application runs. It also provides information on how to use the applications, and how to print the application listings.

You can examine the source code for the sample application programs in the online sample library included with the Db2 product. The name of this sample library is DSN1210.SDSNSAMP.

Using the sample applications

You can use the applications interactively by accessing data in the sample tables on screen displays (panels). You can also access the sample tables in batch when using the phone applications. All sample objects have PUBLIC authorization, which makes the samples easier to run.