<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: proc download in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-download/m-p/61202#M13285</link>
    <description>i would set up a libname statement to connect the DB.  then use the SAS DICTIONARY tables to get a listing of the tables in the DB.  After that you'll have a table with the contents of the database.&lt;BR /&gt;
&lt;BR /&gt;
for example:&lt;BR /&gt;
proc sql;&lt;BR /&gt;
  create table db_contents as&lt;BR /&gt;
    select *&lt;BR /&gt;
	from DICTIONARY.TABLES&lt;BR /&gt;
	where libname='SASHELP';&lt;BR /&gt;
quit;</description>
    <pubDate>Fri, 06 Aug 2010 17:16:12 GMT</pubDate>
    <dc:creator>darrylovia</dc:creator>
    <dc:date>2010-08-06T17:16:12Z</dc:date>
    <item>
      <title>proc download</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-download/m-p/61201#M13284</link>
      <description>how do to download all the datasets from server which have  _sk in their dataset names to a library on my local machine.&lt;BR /&gt;
for instance:&lt;BR /&gt;
dataset RTLWP_FF00016I_sk needs to be downloaded to wfr library.&lt;BR /&gt;
I have around 20 datasets which have _sk&lt;BR /&gt;
&lt;BR /&gt;
There is a chance to miss out some of the datasets if i have to type them in as i did below.&lt;BR /&gt;
proc download data=RTLWP_FF00016I_sk out=wfr.RTLWP_FF00016I_sk; run;</description>
      <pubDate>Fri, 06 Aug 2010 14:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-download/m-p/61201#M13284</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2010-08-06T14:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc download</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-download/m-p/61202#M13285</link>
      <description>i would set up a libname statement to connect the DB.  then use the SAS DICTIONARY tables to get a listing of the tables in the DB.  After that you'll have a table with the contents of the database.&lt;BR /&gt;
&lt;BR /&gt;
for example:&lt;BR /&gt;
proc sql;&lt;BR /&gt;
  create table db_contents as&lt;BR /&gt;
    select *&lt;BR /&gt;
	from DICTIONARY.TABLES&lt;BR /&gt;
	where libname='SASHELP';&lt;BR /&gt;
quit;</description>
      <pubDate>Fri, 06 Aug 2010 17:16:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-download/m-p/61202#M13285</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2010-08-06T17:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: proc download</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-download/m-p/61203#M13286</link>
      <description>For an example with ORACLE.  I tried this and it works.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
libname ora ORACLE user=&amp;amp;user password=&amp;amp;pw path=&amp;amp;path schema=&amp;amp;schema;&lt;BR /&gt;
 &lt;BR /&gt;
proc sql;&lt;BR /&gt;
  create table ora_contents as&lt;BR /&gt;
    select *&lt;BR /&gt;
	from DICTIONARY.TABLES&lt;BR /&gt;
	where libname='ORA';&lt;BR /&gt;
quit;</description>
      <pubDate>Fri, 06 Aug 2010 17:24:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-download/m-p/61203#M13286</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2010-08-06T17:24:32Z</dc:date>
    </item>
  </channel>
</rss>

