Chapter Contents

Previous

Next
SAS Companion for the OpenVMS Operating Environment

Accessing SAS Files

In order to access an individual SAS file in Version 6 of the SAS System, you had to first assign a libref or an OpenVMS logical name to the SAS data 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 Version 8, you can still use librefs or logical names as a convenient way of referring to a SAS data 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 data library to the SAS System, you may want to use a SAS libref instead for the following reasons:


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.