Chapter Contents

Previous

Next
SAS/SHARE User's Guide

Examples

libname sqldslib 'sasxyz.viewlib.sasdata' server=server7;
libname educlib 'sasdemo.educcats.screens' server=abcserv sapw=demopw;
libname educlib 'sasabc.educset.grades' server=shr1 user=_prompt_;
libname slibref grades server=shr1 user=bass pass=_prompt_; 

The first statement associates the libref SQLDSLIB with the SAS data library SASXYZ.VIEWLIB.SASDATA. This library will be accessed through the server SERVER7. The second statement associates the libref EDUCLIB with the SAS data library SASDEMO.EDUCCATS.SCREENS. Users must specify the password DEMOPW in order to access this library through the server ABCSERV. The third and fourth statements illustrate how to supply a username and password in the LIBNAME statement.


Chapter Contents

Previous

Next

Top of Page

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