About the Example Data in the Document

How to Use the Example Data

This document uses two HDAM IMS databases, the AcctDBD database and the WireTrn database. These databases were created for a bank, and they contain data about the bank's customers and their checking and savings account transactions. The seven AcctDBD database segments are named CUSTOMER, CHCKACCT, CHCKDEBT, CHCKCRDT, SAVEACCT, SAVEDEBT, and SAVECRDT. The WireTrn database has one segment, WIRETRAN, and includes only data pertaining to wire transfers of money. All the data in the document is fictitious.
The document also uses one HIDAM database, EmplInf2, in the examples.
Note: These databases are designed to show how the interface treats IMS-DL/I data. They are not meant as an example for you to follow in designing databases for any purpose.
See Example Data for more information about the AcctDBD database and the data that it contains. It also includes definitions of all the view descriptors referenced in this document and all the SAS data files and statements used to create them. Defining SAS/ACCESS Descriptor Files provides information about the WireTrn database and definitions of the view descriptors used in the examples.

Running the Examples in This Document

To run the examples based on the AcctDBD and WireTrn databases, you must first load the database files and define the access and view descriptors shown in Example Data. Use the sample library files described here.
IMSLD
contains the source programs for loading the AcctDBD, EmplInf2, and WireTrn database files for both the engine interface and DATA step. It includes the JCL used to allocate the IMS databases, to create DBDs and PSBs, and to create needed flat files.
IMSEX
contains the example SAS programs that use the engine interface, as shown in IMS Data in SAS Programs and Browsing and Updating IMS Data.
IMSDS
contains the example SAS programs that use the DATA step interface, as shown in Overview of the SAS/ACCESS Interface to IMS and How to Use the IMS DATA Step Interface.