Problem Note 34258: An error occurs when you use PROC IMPORT to read an SPSS file with a user-defined format that has the same name as a SAS format
When you use the IMPORT procedure to read an SPSS file that contains a user-defined format with the same name as a SAS format, the following error might occur:
proc import datafile='c:\myfiles\data.sav'
dbms=sav
out=work.test;
run;
ERROR: Cannot create PROC FORMAT style format
with the same name as an Institute-supplied format
To avoid this problem, do one of the following:
- Remove the user-defined format.
- Change the name of the variable in SPSS before using PROC IMPORT.
- Remove the format in SAS after running PROC IMPORT.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft® Windows® for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Windows Vista | 9.1 TS1M3 SP4 | 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.
Type: | Problem Note |
Priority: | high |
Topic: | Data Management ==> Data Sources ==> External Databases ==> SPSS
|
Date Modified: | 2009-07-14 10:14:55 |
Date Created: | 2008-12-17 16:02:26 |