Previous Page | Next Page

Using SAS Files

Accessing SAS Files under OpenVMS


Difference in Accessing Files in Version 6 and SAS 9.2

To access an individual SAS file in Version 6 of SAS, you had to first assign a libref or an OpenVMS logical name to the SAS library. You could then refer to individual SAS files as libref.member (or logical-name.member), where member is the filename of the individual SAS file.

In SAS 9.2, you can still use librefs or logical names as a convenient way of referring to a SAS library in SAS programs. However, you can also fully specify individual SAS files in most SAS statements and procedures that access SAS files. If portable SAS code is an issue, then using librefs is the recommended method.


Advantages of Using Librefs Rather than OpenVMS Logical Names

Although you can use an OpenVMS logical name to identify a SAS library to SAS, you might want to use a SAS libref instead for the following reasons:

Previous Page | Next Page | Top of Page