Problem Note 34914: Segmentation violation running PROC IMPORT code in SAS® 9.2
Under certain circumstances, a segmentation violation error and a core dump can
occur when you run the IMPORT procedure or use the Import Wizard in SAS 9.2 (9.2 TS1M0).
The error is data-dependent, so will not occur with every
use of PROC IMPORT or the Import Wizard.
Note that the import is performed successfully in SAS 9.1.3 (9.1 TS1M3).
Click the Full Code tab to see sample PROC IMPORT code that will replicate the error.
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | 9.2 TS2M2 |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | 9.2 TS2M2 |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.2 TS2M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | 9.2 TS2M2 |
Microsoft Windows XP Professional | 9.2 TS1M0 | 9.2 TS2M2 |
Windows Vista | 9.2 TS1M0 | 9.2 TS2M2 |
64-bit Enabled AIX | 9.2 TS1M0 | 9.2 TS2M2 |
64-bit Enabled HP-UX | 9.2 TS1M0 | 9.2 TS2M2 |
64-bit Enabled Solaris | 9.2 TS1M0 | 9.2 TS2M2 |
HP-UX IPF | 9.2 TS1M0 | 9.2 TS2M2 |
Linux | 9.2 TS1M0 | 9.2 TS2M2 |
Linux for x64 | 9.2 TS1M0 | 9.2 TS2M2 |
OpenVMS on HP Integrity | 9.2 TS1M0 | 9.2 TS2M2 |
Solaris for x64 | 9.2 TS1M0 | 9.2 TS2M2 |
z/OS | 9.2 TS1M0 | 9.2 TS2M2 |
*
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.
The seegmentation violation can be replicated by submitting this code:
data _null_;
infile cards;
file "txtfile.txt";
input;
put _infile_;
cards;
var1|var2
0300012EN4H8|09101HWPVBNW53ZP009ZNY6F3ZP009
;
run;
proc import out= WORK.TRY
datafile="txtfile.txt"
dbms=DLM REPLACE;
delimiter='7C'x;
getnames=YES;
datarow=2;
run ;
Under certain circumstances, PROC IMPORT code causes a segmentation violation in SAS 9.2. The same code runs successfully in SAS 9.1.3
Type: | Problem Note |
Priority: | high |
Date Modified: | 2009-11-09 13:31:36 |
Date Created: | 2009-02-23 10:46:58 |