SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66835: The IMPORT procedure generates extra lines that begin with "dqstring=" and "fmt=" in the SAS® log beginning in SAS® 9.4M7 (TS1M7)

DetailsHotfixAboutRate It

Beginning in SAS 9.4M7, PROC IMPORT produces extra lines in the SAS log. These extra lines are the result of an invalid value that is encountered and which conflicts with the assigned type (character or numeric) based on the default GUESSINGROWS= value or the specified GUESSINGROWS= value. 

For example, you use the default value of 20 for the GUESSINGROWS= statement, and you have three records in the external file in which the letter S was typed instead of the number 5. The variable is then typed as character. However, extra lines that begin with “dqstring=” and “fmt=”  are written to the SAS log. Here is an example of a SAS log that contains the extra lines:

984  proc import datafile='c:\temp\class.csv' out=class dbms=csv replace;
985  run;
dqstring=111.S
fmt=
dqstring=50.S
fmt=
dqstring=8S
fmt=
986   /**********************************************************************
987   *   PRODUCT:   SAS
988   *   VERSION:   9.4
989   *   CREATOR:   External File Interface
990   *   DATE:      18SEP20
991   *   DESC:      Generated SAS Datastep Code
992   *   TEMPLATE SOURCE:  (None Specified.)
993   ***********************************************************************/
994      data WORK.CLASS    ;
995      %let _EFIERR_ = 0; /* set the ERROR detection macro variable */
996      infile 'c:\temp\class.csv' delimiter = ',' MISSOVER DSD lrecl=32767 firstobs=2 ;
997         informat Name $7. ;
998         informat Sex $1. ;
999         informat Age best32. ;
1000         informat Height best32. ;
1001         informat Weight $5. ;
..........
..........
19 rows created in WORK.CLASS from c:\temp\classtestbug.csv.
NOTE: WORK.CLASS data set was successfully created.
NOTE: The data set WORK.CLASS has 19 observations and 5 variables.
NOTE: PROCEDURE IMPORT used (Total process time):
      real time           0.35 seconds
      cpu time            0.12 seconds

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft® Windows® for x649.4 TS1M79.4 TS1M8
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M79.4 TS1M8
Microsoft Windows 8 Enterprise x649.4 TS1M79.4 TS1M8
Microsoft Windows 8 Pro 32-bit9.4 TS1M79.4 TS1M8
Microsoft Windows 8 Pro x649.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Enterprise x649.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M79.4 TS1M8
Microsoft Windows 8.1 Pro x649.4 TS1M79.4 TS1M8
Microsoft Windows 109.4 TS1M79.4 TS1M8
Microsoft Windows Server 20089.4 TS1M79.4 TS1M8
Microsoft Windows Server 2008 R29.4 TS1M79.4 TS1M8
Microsoft Windows Server 2008 for x649.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 Datacenter9.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 R2 Std9.4 TS1M79.4 TS1M8
Microsoft Windows Server 2012 Std9.4 TS1M79.4 TS1M8
Microsoft Windows Server 20169.4 TS1M79.4 TS1M8
Microsoft Windows Server 20199.4 TS1M79.4 TS1M8
Windows 7 Enterprise 32 bit9.4 TS1M79.4 TS1M8
Windows 7 Enterprise x649.4 TS1M79.4 TS1M8
Windows 7 Home Premium 32 bit9.4 TS1M79.4 TS1M8
Windows 7 Home Premium x649.4 TS1M79.4 TS1M8
Windows 7 Professional 32 bit9.4 TS1M79.4 TS1M8
Windows 7 Professional x649.4 TS1M79.4 TS1M8
Windows 7 Ultimate 32 bit9.4 TS1M79.4 TS1M8
Windows 7 Ultimate x649.4 TS1M79.4 TS1M8
64-bit Enabled AIX9.4 TS1M79.4 TS1M8
64-bit Enabled Solaris9.4 TS1M79.4 TS1M8
HP-UX IPF9.4 TS1M79.4 TS1M8
Linux for x649.4 TS1M79.4 TS1M8
Solaris for x649.4 TS1M79.4 TS1M8
* 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.