You can apply file attributes by using FTP or the FTP access method options in the FILENAME statement, whichever is applicable . For details about the syntax for the FILENAME statement, see SAS Language Reference: Dictionary . For details, see "Example: Using the FILENAME Statement to Specify Transport File Attributes for All Target Machines" on page 38.
Table 10.1 on page 59 identifies the supported file types that are created on the Windows operating environment 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 8 filename extensions are identical.
Furthermore, you can 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.