Previous PageNext Page

Copying a SAS Data Set from One Library to Another
Use Proc Copy or Proc Datasets to copy a SAS data set from one library to another library.

Which is more efficient? (Remember: THINK BIG!)

Code 1:

data classlib.moredata;
	set moredata;
run;

Code 2:

proc copy in=work out=classlib;
   select moredata;
run;

Or

proc datasets lib=work;
	copy out=classlib;
		select moredata;
run;

Previous PageTable Of ContentsNext Page