How to Import data from another Computer
To read in a SAS dataset created somewhere other here at MIT, use the
SAS procedure COPY with the engine XPORT. (An engine is the mechanism
which SAS uses to read in a data set and is used in the libname
statement to assign a libref; the default engine on Athena is v607.)
For example, to read in a dataset in a file called hgtwgt:
libname tref xport '/mit/joeuser/sasuser/hgtwgt';
libname outref v607 '/mit/joeuser/sasuser/';
proc copy in=tref out=outref;
run;
After running this, you will have a file called hgtwght.ssd01 if you are
on an RS/6000, or hgtwght.ssd02 on a DECstation.
|