Chapter Contents |
Previous |
Next |
SAS/ACCESS Interface to IMS-DL/I Software |
There are two types of descriptor files: access descriptors and view descriptors. They are discussed in the next two sections. Relationships among an IMS-DL/I Database, an Access Descriptor, and View Descriptors illustrates the relationships among an IMS-DL/I database, an access descriptor, and view descriptors. Defining SAS/ACCESS Descriptor Files shows you how to create, browse, and edit these files.
Relationships among an IMS-DL/I Database, an Access Descriptor, and View Descriptors
Access Descriptor Files |
Since an access descriptor describes only one IMS-DL/I database, you cannot create a single access descriptor that accesses multiple physical IMS-DL/I databases; however, you can create a single access descriptor for a logical IMS-DL/I database that accesses multiple physical databases.
View Descriptor Files |
Each view descriptor can define all the data in one path of the database, or a particular subset of the data in one path of the database (see Understanding IMS-DL/I Essentials for a discussion of paths and other IMS-DL/I concepts). View descriptors enable you to define all the data in one path of the database by selecting the items that you want to use and specifying selection criteria for only the records that you want. For example, you may want only records with a transaction date of July 3, 1995, and for customers who live in Richmond. You may have several view descriptors, each selecting different paths of data in an access descriptor that you have defined. You may also have view descriptors that select different subsets of data in one path of an access descriptor.
You can join data by using the SAS System's SQL procedure. With the SQL procedure, you can create a view that joins and summarizes data from multiple view descriptors (based on IMS-DL/I databases), SAS data files, DATA step views, or other PROC SQL views. See Using IMS-DL/I Data in SAS Programs for a discussion and examples that use the SQL procedure.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.