Syntax, LIBNAME statement:
LIBNAME libref
engine 'SAS-data-library';
|
C:Usersjohnsmithmedical
in
the Windows environment. When the default engine is used, you do not
have to specify it in the LIBNAME statement. libname medical 'c:usersjohnsmithmedical';
Environment
|
Sample Physical Name
|
---|---|
Windows
|
c:fitnessdata
|
UNIX
|
/users/april/fitness/sasdata
|
z/OS)
|
april.fitness.sasdata
|
1 libname medical 'C:usersjohnsmithmedical'; NOTE: Libref MEDICAL was successfully assigned as follows: Engine: V9 Physical Name: C:usersjohnsmithmedical
proc print data=clinic.admit;
run;
Engine
|
Description
|
---|---|
BMDP
|
allows Read-Only access
to BMDP files
|
OSIRIS
|
allows Read-Only access
to OSIRIS files
|
SPSS
|
allows Read-Only access
to SPSS files
|
G:Myspss.spss
in the Windows
operating environment. libname rptdata spss 'g:myspss.spss';