PROC SQL;
connect to sasspds
(dbq='mydomain'
host='namesvrID'
serv='5555'
user='neraksr'
passwd='siuya');
select *
from connection
to sasspds
(select * from employee_info);
disconnect from sasspds;
quit;
LIBNAME libref SASSPDS <'SAS-data-library'> <SPD Server-options>;
data annual.travel;
LIBNAME mydatalib sasspds 'mydomain' host='namesvrID' serv='5555' user='neraksr' passwd='siuya';
<SPD Server-option>=<value>;
%let spdshost=samson;
LIBNAME myref sasspds 'mylib'
user='yourid'
password='swami';
|
USER=
|
PASSWORD= or PROMPT=
|
Access
|
|---|---|---|
|
Required unless the
SAS client process has a user ID (the SAS client process is not a
Windows client). Values submitted for USER= are validated against
the SPD Server user ID table.
|
Required and validated
against the SPD Server user ID table.
|
Resources that you
create within the SPD Server LIBNAME domain and in other resources
that are not excluded by ACLs or by UNIX file permissions.
|
|
USER=
|
PASSWORD= or PROMPT=
|
Access
|
|---|---|---|
|
Not required. The SPD
Server user ID that is under only UNIX file security is anonymous.
|
Not required with the
anonymous user ID.
|
All resources within
the LIBNAME domain granted access by UNIX permissions for the SPD
Server UNIX ID.
|
LIBNAME mine sasspds 'goldmine' user='explorer' host='fastcpus' prompt=yes chngpass=yes;
LIBNAME mylib sasspds 'spdsdata' server=hefty.spdsname user='camills' password='escort';