Wednesday, October 18, 2006

Using PROC DOWNLOAD for Non-SAS Files

You can use proc download for files that are not SAS data sets by using infile and outfile statements. In this example, a file named myfile.pdf is downloaded to c:\temp:
filename dest 'c:\temp\myfile.pdf';


rsubmit;

filename source '/home/sas/myfile.pdf';

proc download infile=source
outfile=dest;
run;

endrsubmit;
signoff;
Click here to learn more about PROC DOWNLOAD.

1 Comments:

At 12:52 PM, Anonymous Anonymous said...

THANK YOU SO MUCH! I have spent a solid 3 hours looking for this solution.

 

Post a Comment

<< Home