<?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: Importing SAS Data into Excel Using ADO Connections in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159689#M299526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SAS ADO Excel plug-in needs to be installed on the PC where Excel is being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADO needs to connect with either a local SAS server, in which case SAS needs to be installed on the PC, or to a remote SAS server, in which case SAS does not need to be installed on the PC. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 20:34:06 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2015-02-09T20:34:06Z</dc:date>
    <item>
      <title>Importing SAS Data into Excel Using ADO Connections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159688#M299525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to import data from SAS into excel using ADO and VBA within excel. Does anyone know if it is required that SAS be installed on the client accessing the SAS data or if the SAS Excel plug-in needs to be present?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 20:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159688#M299525</guid>
      <dc:creator>vibeznstuff</dc:creator>
      <dc:date>2015-02-09T20:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SAS Data into Excel Using ADO Connections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159689#M299526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SAS ADO Excel plug-in needs to be installed on the PC where Excel is being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADO needs to connect with either a local SAS server, in which case SAS needs to be installed on the PC, or to a remote SAS server, in which case SAS does not need to be installed on the PC. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 20:34:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159689#M299526</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-02-09T20:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SAS Data into Excel Using ADO Connections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159690#M299527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to connect to a remote SAS server. If I understand correctly, I will still need the SAS ADO plug-in but will not need SAS installed on my PC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 21:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159690#M299527</guid>
      <dc:creator>vibeznstuff</dc:creator>
      <dc:date>2015-02-09T21:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SAS Data into Excel Using ADO Connections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159691#M299528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To connect to a remote SAS server you need to install the SAS Integration Technologies client.&amp;nbsp; This will enable you to use com objects to connect to the remote workspace server and collect data using ADO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 21:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159691#M299528</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2015-02-09T21:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SAS Data into Excel Using ADO Connections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159692#M299529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, accomplished what I wanted to. Appreciate it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159692#M299529</guid>
      <dc:creator>vibeznstuff</dc:creator>
      <dc:date>2015-02-10T19:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Importing SAS Data into Excel Using ADO Connections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159693#M299530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case it will be helpful to others in the future, here is an example of using ADO to assign a new libref and select from a table within the reference using Powershell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/FriedEgg/b12eaa71be55952b81ea" title="https://gist.github.com/FriedEgg/b12eaa71be55952b81ea"&gt;SasAdoDbExample.ps1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or PHP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="https://gist.github.com/FriedEgg/55ec275ae1e1c8fcbe6a" title="https://gist.github.com/FriedEgg/55ec275ae1e1c8fcbe6a"&gt;SasAdoDbExample.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC1"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;conn&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pl-s3" style="color: #0086b3;"&gt;New-Object&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;-&lt;/SPAN&gt;ComObject ADODB.Connection&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC2"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC3"&gt;&lt;SPAN class="pl-c" style="color: #969896;"&gt;#Connect to a remote server using IOM&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC4"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;conn&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.Open&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pl-s1" style="color: #df5000;"&gt;'Provider=sas.IOMProvider.9.3;User ID=user;Password=pass;Data Source="";SAS Machine DNS Name=workspace.mycompany.com;SAS Port=8591;SAS Protocol=2'&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC5"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC6"&gt;&lt;SPAN class="pl-c" style="color: #969896;"&gt;#Assign a new libref using ADODB&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC7"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;cmd&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pl-s3" style="color: #0086b3;"&gt;New-Object&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;-&lt;/SPAN&gt;ComObject ADODB.Command&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC8"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;cmd&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.ActiveConnection&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;conn&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC9"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;cmd&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.CommandType&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt; adCmdText&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC10"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;cmd&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.CommandText&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pl-s1" style="color: #df5000;"&gt;'libname foo "/path/to/something"'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC11"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;cmd&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.Execute&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC12"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC13"&gt;&lt;SPAN class="pl-c" style="color: #969896;"&gt;#SQL data&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC14"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;recordSet&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;conn&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.Execute&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pl-s1" style="color: #df5000;"&gt;"select * from foo.something"&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC15"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC16"&gt;&lt;SPAN class="pl-c" style="color: #969896;"&gt;#Collect the data from recordSet into rows array&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC17"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;recordSet&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.MoveFirst&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC18"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC19"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;rows&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;@()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC20"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC21"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;do&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC22"&gt;{&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC23"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;row&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="pl-s3" style="color: #0086b3;"&gt;New-Object&lt;/SPAN&gt; psobject&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC24"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC25"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;for&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;i&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="color: #0086b3;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;;&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;i&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;-lt&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;recordSet&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.Fields.Count&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;;&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;i&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;++&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC26"&gt;&amp;nbsp; {&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC27"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;row&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;|&lt;/SPAN&gt; &lt;SPAN class="pl-s3" style="color: #0086b3;"&gt;Add-Member&lt;/SPAN&gt; noteproperty &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;`&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC28"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;-&lt;/SPAN&gt;name &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;recordSet&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.Fields.Item&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;i&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;)&lt;/SPAN&gt;.Name &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;`&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC29"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;-&lt;/SPAN&gt;value &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;recordSet&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.Fields.Item&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;i&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;)&lt;/SPAN&gt;.Value&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC30"&gt;&amp;nbsp; }&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC31"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC32"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-c" style="color: #969896;"&gt;#yield&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC33"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;rows&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;+=&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;row&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC34"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC35"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;recordSet&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.MoveNext&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC36"&gt;}&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC37"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;until&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;recordSet&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.EOF&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;-eq&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="color: #0086b3;"&gt;true&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC38"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC39"&gt;&lt;SPAN class="pl-c" style="color: #969896;"&gt;#create gridview of data executed in recordSet&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC40"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;rows&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;|&lt;/SPAN&gt; &lt;SPAN class="pl-s3" style="color: #0086b3;"&gt;Out-GridView&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC41"&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC42"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;recordSet&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.Close&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" id="file-sasadodbexample-ps1-LC43"&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pl-vo"&gt;conn&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3;"&gt;.Close&lt;/SPAN&gt;&lt;SPAN class="pl-k" style="color: #a71d5d;"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 20:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-SAS-Data-into-Excel-Using-ADO-Connections/m-p/159693#M299530</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2015-02-10T20:34:30Z</dc:date>
    </item>
  </channel>
</rss>

