Usage Note 17099: DBMAX_TEXT and SCAN_TEXT LIBNAME options for MS Access Engine of
SAS/ACCESS Interface for PC Files
Using the LIBNAME access engine to assign a libref to a MS Access
database, there are two options that will help assign an accurate length
to the longer MS Access memo fields.
1. SCAN_TEXT = YES to tell SAS to scan the length of text data and
use the length of the longest string data found as the SAS
variable width.
2. DBMAX_TEXT = integer to specify the maximum length of the SAS
character variable.
Using SCAN_TEXT=YES, the length of the variable will be set exactly
as long as it needs to be to accommodate the longest length found in
the data.
Using DBMAX_TEXT=nnnn by itself sets or forces a fixed length value.
For example:
libname mylib 'c:\my documents\mydb.mdb' dbmax_text=2056
scan_text=yes;
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 | |
Microsoft Windows XP Professional | 9.1 TS1M3 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Date Modified: | 2006-02-27 15:38:01 |
Date Created: | 2006-02-21 10:44:09 |