SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 49496: The option EXTENDOBSCOUNTER=YES might cause the error "File libref.member.DATA not compatible with this SAS version" in releases before SAS® 9.3

DetailsCodeOutputAboutRate It

You might see the following error in the SAS® log when a SAS® 9.3 or later data set is read in SAS® 9.2 or earlier:

ERROR: File libref.member.DATA not compatible with this SAS version.

This problem can occur if the data set was created in SAS 9.3 or later and the SAS option EXTENDOBSCOUNTER=YES (or the alias EOC=YES) was set when the SAS data set was created.


  • In SAS 9.3, EXTENDOBSCOUNTER= is available as a data set option or LIBNAME statement option.
  • In SAS® 9.4, EXTENDOBSCOUNTER= is available as a data set option, a LIBNAME statement option, and a SAS system option. The default value for the SAS system option in SAS 9.4 is EXTENDOBSCOUNTER=YES, which means that all new SAS data sets are created with this setting.

To determine whether a SAS data set was created with EXTENDOBSCOUNTER=YES, run the CONTENTS procedure in SAS 9.3 or later on that SAS data set as shown on the Full Code tab above. If EXTENDOBSCOUNTER=YES, the EXTENDOBSCOUNTER field is displayed in the CONTENTS procedure output, as shown on the Output tab. With EXTENDOBSCOUNTER=NO, no field for EXTENDOBSCOUNTER appears in the output from PROC CONTENTS.

Reading This Data Set in SAS 9.2 or Earlier

In order to share this data set with a site that is running SAS 9.2 or earlier, you must do one of the following:

  • Using SAS 9.3, do one of the following:
    • Re-create the data set with the data set option EOC=NO, as shown on the Full Code tab above.
    • Create a transport file using PROC CPORT and then, in SAS 9.2, use PROC CIMPORT to read it.
  • Using SAS 9.4, do one of the following:
    • Re-create the data set with the SAS system option EXTENDOBSCOUNTER=NO or its alias EOC=NO.
    • Create a transport file using PROC CPORT and then, in SAS 9.2, use PROC CIMPORT to read it.

If you are running SAS 9.2 and get the error "File libref.member.DATA not compatible with this SAS version" and CONTENTS procedure output for the data set shows that the data set was created with SAS 9.3 or SAS 9.4, the data set MUST be re-created using the steps described above.

Ensure That Any Data Set You Create in SAS 9.4 Can Be Read in SAS 9.2 or Earlier

To ensure that a data set created in SAS 9.4 can be read by SAS 9.2 (or earlier), do any of the following:

  1. Submit the following statement in your SAS 9.4 session.
  2. options ExtendObsCounter=no;
    
  3. Specify the option EOC=NO at SAS invocation.
  4. Specify the option in a SAS configuration file that is processed when the SAS system initializes.
    -EXTENDOBSCOUNTER NO 
    

    The default location for the SAS 9.4 configuration file for SAS Foundation is C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg

Additional Information

  • For more information about the EXTENDOBSCOUNTER= option, see the option description in the SAS(R) 9.4 Data Set Options: Reference documentation.
  • More information about compatibility of SAS 9.4 data sets and other new file features not supported in previous releases is available on this Migration web page.


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.2 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M0
Microsoft® Windows® for x649.2 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M0
Microsoft Windows XP Professional9.2 TS1M0
Windows Vista9.2 TS1M0
Windows Vista for x649.2 TS1M0
* 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.