Problem Note 49556: A "long string" warning message occurs when you import Excel files with the DBDSOPTS parameter in SAS® 9.3
When using the IMPORT procedure with a long DBDSOPTS parameter, you might receive the following message:
WARNING: The quoted string currently being processed has become more than 262 characters long. You might have unbalanced quotation marks.
A full example of the log is shown below:
proc import out=sasdata
datafile="j:\users\mydata.xls"
dbms=excel replace;
WARNING: The quoted string currently being processed has become more than 262 characters long. You might have unbalanced quotation marks.
getnames=yes;
dbdsopts="dbsastype=('State'='char(2)' 'Agency type'='numeric' 'Random
order #'='numeric' '# of calls'='char(25)' 'Agency name'='char(78)' 'Contact name'='char(50)' 'Job title'='char(43)'
'Completed (0/1)'='char(25)' 'Surveyed by email/phone'='char(22)' 'Notes'='char(1024)')";
mixed=yes;
scantext=yes;
usedate=yes;
scantime=yes;
run;
The issue occurs because SAS quoted strings are typically shorter than 262 characters. The Excel file is actually imported correctly.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Windows Vista | 9.3 TS1M0 | 9.3 TS1M2 |
Windows 7 Ultimate x64 | 9.3 TS1M0 | 9.3 TS1M2 |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | 9.3 TS1M2 |
Windows 7 Professional x64 | 9.3 TS1M0 | 9.3 TS1M2 |
Windows 7 Professional 32 bit | 9.3 TS1M0 | 9.3 TS1M2 |
Windows 7 Home Premium x64 | 9.3 TS1M0 | 9.3 TS1M2 |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | 9.3 TS1M2 |
Windows 7 Enterprise x64 | 9.3 TS1M0 | 9.3 TS1M2 |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft Windows XP Professional | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft Windows Server 2008 R2 | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft Windows Server 2008 | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | 9.3 TS1M2 |
Microsoft® Windows® for x64 | 9.3 TS1M0 | 9.3 TS1M2 |
Windows Vista for x64 | 9.3 TS1M0 | 9.3 TS1M2 |
*
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.
When you import Excel files with the DBDSOPTS parameter, a message about unbalanced quotation marks might occur. This is a normal message. The DBDSOPTS parameter is working.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2013-04-04 18:49:12 |
Date Created: | 2013-04-01 17:47:02 |