SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 45923: The "Other" format category is ignored when you export a SAS® data set to SPSS

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft® Windows® for x649.39.49.3 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.39.3 TS1M0
Microsoft Windows Server 2003 for x649.39.3 TS1M0
Microsoft Windows Server 20089.39.3 TS1M0
Microsoft Windows Server 2008 for x649.39.49.3 TS1M09.4 TS1M0
Microsoft Windows XP Professional9.39.3 TS1M0
Windows 7 Enterprise 32 bit9.39.3 TS1M0
Windows 7 Enterprise x649.39.49.3 TS1M09.4 TS1M0
Windows 7 Home Premium 32 bit9.39.3 TS1M0
Windows 7 Home Premium x649.39.3 TS1M0
Windows 7 Professional 32 bit9.39.3 TS1M0
Windows 7 Professional x649.39.49.3 TS1M09.4 TS1M0
Windows 7 Ultimate 32 bit9.39.3 TS1M0
Windows 7 Ultimate x649.39.3 TS1M0
Windows Vista9.39.3 TS1M0
Windows Vista for x649.39.3 TS1M0
64-bit Enabled AIX9.39.49.3 TS1M09.4 TS1M0
64-bit Enabled HP-UX9.39.49.3 TS1M09.4 TS1M0
64-bit Enabled Solaris9.39.49.3 TS1M09.4 TS1M0
HP-UX IPF9.39.49.3 TS1M09.4 TS1M0
Linux9.39.49.3 TS1M09.4 TS1M0
Linux for x649.39.49.3 TS1M09.4 TS1M0
Solaris for x649.39.49.3 TS1M09.4 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M3
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M3
Microsoft Windows XP 64-bit Edition9.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.