Use
the Access procedure to define descriptors that identify spreadsheet
data and the conversions necessary to use that data in SAS programs.
The Lotus label data
type is formatted as a SAS character type, and the Lotus
1-2-3 number data type is formatted as a SAS
numeric type.
Fonts, attributes, and
colors in the WK
n files are
not read into the SAS data sets. The ACCESS procedure supports most
of the WK
n number formats and
automatically converts them to corresponding SAS formats.
Any WK
n data
strings longer than 200 characters are truncated while being converted
into SAS data sets. Any SAS data set created from WK
n files
can contain up to 256 variables and 8,192 observations.
The following table
shows the default SAS System variable formats that the ACCESS procedure
assigns to each type of WK
n file.
Numeric data include date and time values.
Default SAS System Variable Formats for WKn File Data
* Any valid Lotus 1-2-3
data format.
** Label or formula
string data.
*** Number or formula
data.
If WKn file fall outside
of the valid SAS data ranges, when you try to access the data, an
error message is written to the SAS log.
The
SAS/ACCESS interface does not fully support the
Lotus
1–2–3
hidden and text formats. WKn data in hidden format are displayed in
SAS data sets. You can drop the hidden column when creating the access
descriptor.
To display the formula
in the text format, add a label prefix character. This indicates that
the formula entry is a label. Otherwise, the results of the formula
are displayed.