Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


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.

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.