View descriptor
files are sometimes called
views because their member type is VIEW. This document uses the term
view
descriptors to distinguish
view descriptor files from views created by the SAS
SQL procedure or a
DATA step.
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
IMS Essentials for a discussion of paths and other IMS 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 might want only records with a transaction date of July 3, 1995,
and for customers who live in Richmond. You might have several view descriptors,
each selecting different paths of data in an access descriptor that you have defined.
You might also have view descriptors that select different
subsets of data in one path of an access descriptor.
You can join data by using SAS SQL procedure. With the SQL procedure, you can create
a view that joins and summarizes
data from multiple view descriptors (based on IMS databases), SAS data files, DATA
step views, or other PROC SQL views. See
IMS Data in SAS Programs for a discussion and examples that
use the SQL procedure.