A database consists of groups of logically related data called
logical entries. The database definition serves as a pattern to create logical entries for the
database and to interpret them. A
logical entry contains groups of related data called data records. A
data record is an identifiable set of values that are treated as a unit and associated with a
schema record.
For example, in the database Employee, logical entries contain data about employees;
all data records that pertain
to one employee make up a single logical entry. Each logical entry has a data record
for personal data (such as the employee's name, address, and birthday), and a data
record that pertains to the position that the employee holds in the company (such
as title, department, manager, and pertinent dates). If the employee held several
positions in the company, there is a data record for each position.
Using the layout of the database definition, the following figure shows the schema
items with values for one employee. David Reid held two positions: programmer and
assistant programmer. In addition, he has three salary data records for his programmer
position.
When you use a view descriptor in a SAS program to access a SYSTEM 2000 database,
you must be familiar with the database structure in order to understand how the
interface view engine maps a SYSTEM 2000 logical entry into multiple SAS observations and back again. This
process is explained in the next
section.