<?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: Where can I find SQL.COUNTRIES? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707409#M79989</link>
    <description>&lt;P&gt;Wow, that is very well hidden considering that SQL.COUNTRIES still is mentioned in a number of places in the SAS documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not good, SAS.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 11:46:14 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-12-21T11:46:14Z</dc:date>
    <item>
      <title>Where can I find SQL.COUNTRIES?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707256#M79987</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hopefully this is a simple question.&amp;nbsp; I am looking for the data that is used in the SQL examples on the site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The examples can be found here: &amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=sqlproc&amp;amp;docsetTarget=p014txvde9e60an1xyloas81o6by.htm&amp;amp;locale=en#!" target="_self"&gt;sql.countries.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tyvm in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Jules.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 13:49:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707256#M79987</guid>
      <dc:creator>JulieLearnsSAS</dc:creator>
      <dc:date>2020-12-20T13:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find SQL.COUNTRIES?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707407#M79988</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/53276"&gt;@JulieLearnsSAS&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally I found the link in the SAS 9.3 (!) section of the page &lt;A href="https://support.sas.com/en/software/base-sas-support.html#documentation" target="_blank" rel="noopener"&gt;https://support.sas.com/en/software/base-sas-support.html#documentation&lt;/A&gt;. Here's a direct link:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/onlinedoc/base/9.3/SQLDatasetsV9.zip" target="_blank" rel="noopener"&gt;http://support.sas.com/documentation/onlinedoc/base/9.3/SQLDatasetsV9.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Chrome browser tried to block the download of the zip file -- not knowing how trustworthy SAS Institute Inc. is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After downloading and extracting the zip file you have a file named &lt;FONT face="courier new,courier"&gt;SQLDatasetsV9&lt;/FONT&gt; (without a suffix), say, in folder &lt;FONT face="courier new,courier"&gt;&lt;EM&gt;your_path&lt;/EM&gt;\&lt;/FONT&gt;. Then you submit a LIBNAME statement as usual, e.g.&lt;/P&gt;
&lt;PRE&gt;libname sql '&lt;EM&gt;your_library_path&lt;/EM&gt;';&lt;/PRE&gt;
&lt;P&gt;and extract the datasets from the CPORT transport file (which&amp;nbsp;&lt;FONT face="courier new,courier"&gt;SQLDatasetsV9&lt;/FONT&gt; is)&lt;FONT face="helvetica"&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;proc cimport library=sql infile='&lt;EM&gt;your_path&lt;/EM&gt;\sqldatasetsv9';
run;&lt;/PRE&gt;
&lt;P&gt;Now you have&amp;nbsp;&lt;FONT face="courier new,courier"&gt;countries.sas7bdat&lt;/FONT&gt; and nine other SAS datasets in &lt;EM&gt;&lt;FONT face="courier new,courier"&gt;your_library_path&lt;/FONT&gt;&lt;/EM&gt; available as &lt;FONT face="courier new,courier"&gt;sql.countries&lt;/FONT&gt;, etc.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 11:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707407#M79988</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-12-21T11:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find SQL.COUNTRIES?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707409#M79989</link>
      <description>&lt;P&gt;Wow, that is very well hidden considering that SQL.COUNTRIES still is mentioned in a number of places in the SAS documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not good, SAS.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 11:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707409#M79989</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-12-21T11:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find SQL.COUNTRIES?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707595#M79990</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tyvm. I usually write out the copy the code (not copy and paste, but actually type it all out myself) , so I like to see if it compiles the same , etc..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the help.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 00:17:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Where-can-I-find-SQL-COUNTRIES/m-p/707595#M79990</guid>
      <dc:creator>JulieLearnsSAS</dc:creator>
      <dc:date>2020-12-22T00:17:42Z</dc:date>
    </item>
  </channel>
</rss>

