To connect to a data source with the
DataFlux Federation Server, you must first connect to the DataFlux
Federation Server. To connect to the DataFlux Federation Server, you
must specify server connection arguments in the LIBNAME statement.
The DataFlux Federation
Server process can be running on the local computer or on a remote
computer. The SAS program connects as a client of the Federation Server.
The data source connection arguments identify the computer on which
the server is running, the port number which is used to access the
server, and user authentication credentials.
The following is an
example of the code necessary to connect to a DataFlux Federation
Server and access a SAS data set.
libname lib1 fedsvr server="d1234.us.company.com"
port=2171 user="myid" password=mypwd
dsn="BaseDSN";
proc print data=lib3.table1;
run;
In the example, FEDSVR
is the name of the LIBNAME engine and SERVER=, PORT=, USER= and PASSWORD=
are server connection arguments.
- SERVER="d1234.us.company.com"
-
identifies the computer
on which the DataFlux Federation Server is running.
- PORT=2171
-
specifies the TCP port
that the DataFlux Federation Server is listening to for connections.
2171 is the default port number defined for a DataFlux Federation
Server at installation.
- USER="myid"
-
specifies the user
ID for logging on to the server. Alias: UID=.
- PASSWORD=mypwd
-
specifies the password
that corresponds to the user ID for the server. Alias: PWD=.