Chapter Contents |
Previous |
Next |
SAS/MDDB Server Administrator's Guide |
The CPORT and CIMPORT procedures, which are used to transport SAS files between operating environments, do not support the transport of MDDBs. Instead, the following methods can be used:
Transporting MDDBs with the COPY Procedure |
libname rmtlib server=rmthost.share1;This example informs the local SAS session that the libref RMTLIB references the RMTLIB library on the SAS/SHARE server share1, which is located on a host called RMTHOST.
signon rmtpc; libname rmtlib remote 'd:\sasmddb' server=rmtpc;This example establishes a connection with the remote host RMTPC and informs the local SAS session that the libref RMTLIB references the SAS data library d:\sasmddb on the RMTPC host.
proc copy out=work in=rmtlib memtype=mddb;This example copies all MDDBs from the RMTLIB library on the remote host to the temporary library on the local host. The COPY procedure can also be used to copy MDDBs from the local host to the remote host.
Transporting MDDBs with the UPLOAD and DOWNLOAD Procedures |
proc upload data=school.grades out=grades_copy;This example copies the MDDB GRADES from the local SCHOOL library to the WORK library on the remote host as GRADES_COPY.
For complete details on the UPLOAD and DOWNLOAD procedures, see the SAS/CONNECT User's Guide.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.