Identifying the SAS Version Used to Create a File under Windows

This table identifies the supported file types that are created on the Windows operating environment by member and SAS version:
Windows Filename Extension by Member and SAS Version
Member Type
SAS 6 Filename Extension
SAS 8 and Later Filename Extension
SAS
.sas
.sas
PROGRAM (DATA step)
.ss2
.sas7bpgm
DATA
.sd2
.sas7bdat
INDEX
.si2
.sas7bndx
CATALOG
.sc2
.sas7bcat
MDDB
.sm2
.sas7bmdb
PROC SQL view
.sv2
.sas7bvew
SAS 9 and SAS 8 filename extensions are identical.
You can also use the CONTENTS procedure to display information about the data.
Here is an excerpt of typical PROC CONTENTS output, which identifies the member and the engine that was used to create it:
       The SAS System
   The CONTENTS Procedure
Data Set Name: TEST.CONTENTS
Member Type:   DATA
Engine:        V9
This output shows that the data set TEST.CONTENTS is a member of type DATA, and that it was created with the V9 engine.