Ever seen this?

ERROR: YZR malfunction file BLAHBLAH.DATA trashed or YZR code bug

Using Windows 7, I tried to open a SAS file created using SPSS 19 on my Mac and saved in Dropbox and got a brand new (to me) error.  I thought perhaps it was Dropbox, because that was brand-new to me also. I saved the file on a flash drive, made the great sacrifice of walking the three feet over to the Windows computer and got the same problem again.

If you are getting this error switching from SPSS on a Mac to a Windows computer, here is how to solve it in five seconds.

1. Instead of saving as a regular SAS file (sas7bdat) save as a SAS transport file (xpt). Both are options when you are saving your file in SPSS 19.

2. When opening your file for the first time in SAS, use the code below.

libname in xport "g:\mysurvey.xpt" ;
data newfile ;
set ;

Fixed. Done. You’re welcome.



Name (required)

Email (required)


Speak your mind

5 Comments so far

  1. Jim on December 16, 2012 12:03 am

    You just saved me from pulling out my remaining hair. Thanks!

  2. Nancy on August 3, 2017 5:47 pm

    Thank you! Worked beautifully!

  3. PK on October 25, 2017 7:51 am

    Thanks! Worked exactly as promised, and you saved me a lot of time.

  4. MWSTAT on December 6, 2017 9:18 am

    Ditto. Thanks very much for taking the time to post. I have never gotten this error before.

  5. cz on May 20, 2020 3:47 am

    Thanks! As the others have said, I too have never seen this error. The idea of a transport file did not occur to me.


WP Themes