Problem Note 45923: The "Other" format category is ignored when you export a SAS® data set to SPSS
When you export a SAS data set to SPSS using SAS formats, the "Other" category might be ignored and formatted to incorrect values. For example, in SAS, you might have the following:
proc format library=work.formats;
value $sexe "M" = "Homme" "F" = "Femme";
value rage 11 = 'very jeune' 12 = 'very jeune'
13 = 'adapted' 14 = 'adapted'
15 = 'retard' 16 = 'retard'
other = 'special'
;
run;
data class;
set sashelp.class;
format sex $sexe. age rage.;
run;
data classadd;
name="unknown ";
sex="M";
age=17;
run;
proc append base=class data=classadd;
run;
options fmtsearch=(work.formats);
proc export dbms=sav data=class outfile="c:\temp\afterHFc70003other.sav"
replace;
fmtlib=work.formats;
run;
In this case, in SPSS, the value label for the name "unknown" is incorrect and is not labeled as "special."
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft® Windows® for x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.3 | | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 | | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 9.3 | | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 | | 9.3 TS1M0 | |
Windows 7 Professional 32 bit | 9.3 | | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 9.3 | | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 | | 9.3 TS1M0 | |
Windows Vista | 9.3 | | 9.3 TS1M0 | |
Windows Vista for x64 | 9.3 | | 9.3 TS1M0 | |
64-bit Enabled AIX | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
HP-UX IPF | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Linux | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Linux for x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Solaris for x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | | | 9.2 TS2M3 | |
Microsoft Windows XP 64-bit Edition | | | 9.2 TS2M3 | |
*
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 "Other" format category might be ignored when you export to SPSS from SAS because the value label might be set to "missing."
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-09-28 17:10:44 |
Date Created: | 2012-03-06 11:11:13 |