Desktop productivity for business analysts and programmers

Can I read and write SAS Datasets directly to a remote FTP site?

Reply
N/A
Posts: 0

Can I read and write SAS Datasets directly to a remote FTP site?

Or is there a FTP library engine?
Frequent Contributor
Posts: 139

Re: Can I read and write SAS Datasets directly to a remote FTP site?

Amber
use the FILENAME statement with the FTP option. For example from the online documentation. http://support.sas.com/onlinedoc/913/docMainpage.jsp

filename anon ftp '' ls host='130.96.6.1'
user='anonymous';

data _null_;
infile anon;
input;
list;
run;


-Darryl
N/A
Posts: 0

Re: Can I read and write SAS Datasets directly to a remote FTP site?

Thanks for your reply, from the sample 8 and sample on http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a000178980.htm I know we can transport a local library to a FTP site, and we can create transport library directly on a FTP site, but they are Transport Libraries, so they have limitations. Is there a way to write ordinary data sets directly to FTP sites, that is to treat datasets as external files, not through the XPORT engine.
Frequent Contributor
Posts: 139

Re: Can I read and write SAS Datasets directly to a remote FTP site?

Could have SAS use the operating system to copy your SAS file in binary mode up to the ftp site?
Ask a Question
Discussion stats
  • 3 replies
  • 81 views
  • 0 likes
  • 2 in conversation