- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 04-17-2015 01:02 PM
(32187 views)
Hello everyone,
I want copy all data sets from work to another SAS folder. how to do it?
Thanks
proc datasets;
copy out=sasuser in=work;
select _all_;
run;
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Make sure you specify in/out libraries appropriately but if you drop the select all are copied by default. Also, make sure to include a quite statement with proc datasets.
proc datasets library=work;
copy out=sasuser in=work;
run;quit;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
And really not a good idea to put work product into SASUSER as upgrade/installations my not keep your datasets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
libname x v9 'c:\temp'; proc copy in=work out=x memtype=data; run;
Xia Keshan