BookmarkSubscribeRSS Feed
Cello23
Quartz | Level 8

hello all,
I would use "PROC DOWNLOAD" to download all datasets present in a libname, but can not set the correct syntax.

Please help me!  :smileyconfused:
es.
PROC DOWNLOAD DATA =PLUTO.T01  OUT =PIPPO.T01;
RUN;

Download all datasets in the libname "PLUTO" in to libename "PIPPO"

Thank's!!!

2 REPLIES 2
LinusH
Tourmaline | Level 20

Try the INLIB and OUTLIB options.

Data never sleeps
Cello23
Quartz | Level 8

LIBNAME PIPPO "\\TEMP";

RSUBMIT;
LIBNAME PLUTO "/sasdatatmp_6/SAS_workC99F0086E0B8_ussasx601";
proc download inlib=PLUTO outlib=PIPPO;
run;
endrsubmit;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2355 views
  • 1 like
  • 2 in conversation