The
SAS/ACCESS interface to IMS consists
of three parts:
-
the ACCESS procedure, which you
use to define the SAS/ACCESS
descriptor files
-
the IMS
interface view engine, which enables you to use IMS descriptor files in SAS programs in much the same way
you use SAS data files
-
the
DATA step interface, which enables you to access information in IMS databases using SAS programming
statements
The ACCESS procedure enables you to describe an IMS
database to SAS in an
access descriptor file. You can then create
view descriptor files from the access descriptor file, which you can use in SAS programs in much
the same way as you would use SAS data files. You can print, plot, and chart the
data described by the view descriptor files, use it to create other SAS data sets,
and so on.
Defining SAS/ACCESS Descriptor Files describes how to create and edit
SAS/ACCESS descriptor files.
IMS Data in SAS Programs presents examples of using IMS data in SAS programs, and
Browsing and Updating IMS Data shows how to use the view descriptor files to update IMS
data from within a SAS program.
The interface view engine is an integral part of the
SAS/ACCESS interface, but the interface's design is embedded in the software, so you are seldom
aware of the
engine. SAS interacts automatically with the engine when you use
SAS/ACCESS view descriptors in your SAS programs, so you can
use IMS data in your programs in much the same way as you use SAS
data.
The DATA step interface provides special extensions of standard SAS INFILE and FILE
statements
to access IMS resources.
How to Use the IMS DATA Step Interface describes these statement extensions
in detail.
You might need to combine
data from several sources, including IMS databases, SAS 6 SAS data
sets, SAS 7 SAS data sets, and other databases. With the
SAS/ACCESS interface, such combinations are not
only possible, but easy to do. SAS can differentiate among SAS data
sets, SAS/ACCESS view descriptor files, and other types of SAS files, and it can use the appropriate
access method.