Remote Library
Services (RLS) performs dynamic data translation.
SAS/CONNECT use
RLS to access SAS files in remote SAS libraries.
SAS/CONNECT clients
access remote files by using the LIBNAME statement.
Note: You can also use the CONNECT
TO statement in PROC SQL to access remote files.
If the server data is
accessed and processed to produce a single result at the client, only
one translation occurs: from the representation of the server computer
to the representation of the client computer.
If the server data is
processed on the client and the results are updated on the server,
two translations occur.
-
When the data is accessed from
the server, it is translated from the representation of the server
computer to the representation of the client computer.
-
When the data is updated (and stored)
on the server, it is translated from the representation of the client
computer back to the representation of the server computer.
Depending on the characteristics
of the data, translation can cause a loss of some degree of numeric
precision and magnitude.
The LIBNAME statement
can be used to identify the server library to be accessed. Various
SAS statements can be used to process the data, specifying the location
of the server data and methods of data processing. These examples
show that data is read (and translated) from the server and processed,
with results being copied to a client location.
libname serv-libref 'server-library'
server=server-ID;
libname client-libref 'client-library';
proc copy in=serv-libref
out=client-libref;
Note: Using RLS in a
SAS/CONNECT
session is not the most efficient method to move large quantities
of server data. RLS is used here to illustrate the possibility for
the loss of precision across computers that represent numeric data
differently.