This section
introduces Lotus 1-2-3 WK
n files.
It focuses on the terms and concepts that help you use
SAS/ACCESS Interface to PC Files.
SAS/ACCESS Interface to PC Files works with WK1, WK3, and WK4
(releases 4 and 5) files. These files contain data in the form of
Lotus 1-2-3 spreadsheets. They are referred to collectively in this
document as WK
n files, where
n represents
releases 1, 3, or 4.
SAS/ACCESS
Interface to PC Files does not support the .123 format for files from
Lotus SmartSuite 97 software.
Various software products,
such as the Lotus 1-2-3 spreadsheet and database system, enable you
to use spreadsheet or database files to enter, organize, and perform
calculations on data. Spreadsheets are most often used for general
ledgers, income statements, and other types of financial record keeping.
Database files also enable you to organize related information, such
as the data in an accounts-receivable journal.
In both spreadsheets
and database files, the data is organized according to certain relationships
among data items. These relationships are expressed in a tabular form,
in columns and rows. Each column represents one category of data,
and each row can hold one data value for each column.
A Lotus 1-2-3 spreadsheet
is an electronic spreadsheet consisting of a grid of 256 columns and
8,192 rows. The intersection of a column and a row is called a cell.
This display illustrates a portion of a standard 1-2-3 spreadsheet.
Columns and Rows of Data in a WKn File
Column letters for each
column appear above the spreadsheet. Columns are lettered A–IV
(A to Z, AA to AZ, BA to BZ, and so on, to IV). Row numbers for each
row appear to the left of the spreadsheet. Rows are numbered 1 to
8,192. For WK1 files, only one spreadsheet (spreadsheet A) is allowed
per file. For WK3 and WK4 files, up to 256 spreadsheets (spreadsheets
A-IV) are allowed. However, the
SAS/ACCESS interface to WK
n files
uses only one spreadsheet and defaults to spreadsheet A.
A range is a subset
of cells in a spreadsheet. A range is identified by its address. The
address begins with the name of the top left cell. The range ends
with the name of the bottom right cell. The names are separated by
two periods. For example, the range B2..E8 is the range address for
a rectangular block of 28 cells whose top left cell is B2 and whose
bottom right cell is E8 (as shaded in the figure).
You can give a name
to a range and use the name in commands and formulas instead of the
range address in Lotus 1-2-3. A range name can be up to 15 characters
long and should contain no spaces. For example, if the range B3..D6
is named GRADE_TABLE, the formula @AVG(GRADE_TABLE) has the same value
as @AVG(B3..D6).
For more information
about ranges and their naming conventions, see the Lotus 1-2-3 software
documentation.