<?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: Connecting SAS to Salesforce in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759789#M240176</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/264750"&gt;@RandoDando&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am working on an application server.&amp;nbsp; Wouldn't the driver have to be installed there?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The driver needs to be on the same machine as SAS.&amp;nbsp; It sounds like that is the case, but we won't know for sure until we look into the ODBC Data Source Administrator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/264750"&gt;@RandoDando&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;maybe a passthrough query would work.&amp;nbsp; I've performed those, but Oracle and Sybase are a far cry from SF.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Oracle and Sybase are definitely different than Salesforce.&amp;nbsp; However, the nice thing about ODBC is that it does standardize the connection a bit, so there's that.&amp;nbsp; I'm willing to help if you'd like to try.&amp;nbsp; If not, then I think you'd have to export from SalesForce to csv or something and then import into SAS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you'd like to try, I would like to know these two pieces of information from Proc SetInit:&lt;/P&gt;
&lt;PRE&gt;Current version: 9.04.01M6P111518
Operating System:   WX64_SV .&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 19:52:04 GMT</pubDate>
    <dc:creator>jimbarbour</dc:creator>
    <dc:date>2021-08-05T19:52:04Z</dc:date>
    <item>
      <title>Connecting SAS to Salesforce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759675#M240121</link>
      <description>&lt;P&gt;I am using SAS EG which is using SAS version 9.4.3.0.&amp;nbsp;&amp;nbsp; How can I connect to a SalesForce database? I prefer to link to it so that I can explore the tables in SAS.&amp;nbsp; I was granted an Admin account to SF so that I can see all which is there.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 13:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759675#M240121</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2021-08-05T13:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting SAS to Salesforce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759739#M240149</link>
      <description>&lt;P&gt;You would need to create a Libname.&amp;nbsp; Assuming that whatever database Salesforce uses is compatible with SAS and that you have &lt;STRONG&gt;the proper drivers and such&lt;/STRONG&gt;, you should then be able to browse just as you would SAS datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first thing I would want to know is:&amp;nbsp; Do you have the proper SAS/Access licenses to read Salesforce?&amp;nbsp; Then we have to look at the drivers you have available to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you run the below code and post the SAS log?&amp;nbsp; Please use the indicated icon to post the log.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimbarbour_0-1628178104801.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62309iE8F48D36629927D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="jimbarbour_0-1628178104801.png" alt="jimbarbour_0-1628178104801.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SETINIT;
RUN;

PROC PRODUCT_STATUS;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 15:42:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759739#M240149</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-08-05T15:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting SAS to Salesforce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759775#M240166</link>
      <description>&lt;PRE&gt;Product expiration dates:
---Base SAS Software                                                                                   
---SAS/STAT                                                                                             
---SAS/GRAPH                                                                                           
---SAS/ETS                                                                                              
---SAS/FSP                                                                                              
---SAS/AF                                                                                               
---SAS/IML                                                                                              
---SAS/ASSIST                                                                                           
---SAS/CONNECT                                                                                      


---SAS OLAP Server                                                                                  
---MDDB Server common products                                                      
---SAS Integration Technologies                                                            
---SAS/Secure 168-bit                                                                              
---SAS/Secure Windows                                                                          
---Unused OLAP Slot                                                                                
---SAS Enterprise Guide                                                                          
---SAS/ACCESS Interface to Oracle                                                        
---SAS/ACCESS Interface to PC Files                                                      
---SAS/ACCESS Interface to ODBC                                                         
---SAS/IML Studio                                                                                     
---SAS Workspace Server for Local Access                                           
---SAS Workspace Server for Enterprise Access                                  
---SAS/ACCESS Interface to Sybase IQ                                                  
---High Performance Suite                                                                      
---SAS Add-in for Microsoft Excel                                                          
---SAS Add-in for Microsoft Outlook                                                     
---SAS Add-in for Microsoft PowerPoint                                              
---SAS Add-in for Microsoft Word                                                         
---SAS Visual Analytics Services                                                             

40         
41         PROC PRODUCT_STATUS;
42         run;

For Base SAS Software ...
   Custom version information: 9.4_M3
   Image version information: 
For SAS/STAT ...
   Custom version information: 14.1
For SAS/GRAPH ...
   Custom version information: 9.4_M3
For SAS/ETS ...
   Custom version information: 14.1
For SAS/FSP ...
   Custom version information: 9.4_M3
For SAS/AF ...
   Custom version information: 9.4_M3
For SAS/IML ...
   Custom version information: 14.1
For SAS/ASSIST ...
   Custom version information: 9.4
   Image version information: 
For SAS/CONNECT ...
   Custom version information: 9.4_M3
For SAS OLAP Server ...
   Custom version information: 9.4
For SAS Integration Technologies ...
   Custom version information: 9.4_M3
For High Performance Suite ...
   Custom version information: 2.2_M4
For SAS/ACCESS Interface to Oracle ...
   Custom version information: 9.4_M3
For SAS/ACCESS Interface to PC Files ...
   Custom version information: 9.4_M3
For SAS/ACCESS Interface to ODBC ...
   Custom version information: 9.4_M3
&lt;/PRE&gt;
&lt;P&gt;Looks like the engine for SF isn't there.&amp;nbsp; Also tried the libname statement for SFORCE and got the error message that it couldn't find it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great.&amp;nbsp; Looks like it's going to be the 'old fashioned' way of importing raw.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 17:56:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759775#M240166</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2021-08-05T17:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting SAS to Salesforce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759780#M240170</link>
      <description>&lt;P&gt;Well, now, hold on.&amp;nbsp; There is still an option here.&amp;nbsp; I see that you do have ODBC.&amp;nbsp; We can use ODBC to connect -- if you have the driver on your SAS server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you ran SETINIT, which version of SAS did it say you have and what operating system?&amp;nbsp; I need these two pieces of information:&lt;/P&gt;
&lt;PRE&gt;Current version: 9.04.01M6P111518
Operating System:   WX64_SV .&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you're on a Windows system.&amp;nbsp; In Windows, we can use the ODBC Data Source Administrator to create a DSN for you to connect via.&amp;nbsp; Basically, this tells SAS what driver to use for a particular type of database.&amp;nbsp; In the screen shot below, you can see in the Driver column some of the drivers on my system.&amp;nbsp; We need to see if there is one for Salesforce on your system.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimbarbour_0-1628187507103.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62312iE6E0F4636046D4F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimbarbour_0-1628187507103.png" alt="jimbarbour_0-1628187507103.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 18:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759780#M240170</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-08-05T18:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting SAS to Salesforce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759781#M240171</link>
      <description>&lt;P&gt;I am working on an application server.&amp;nbsp; Wouldn't the driver have to be installed there? If so, then maybe a passthrough query would work.&amp;nbsp; I've performed those, but Oracle and Sybase are a far cry from SF.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 18:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759781#M240171</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2021-08-05T18:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting SAS to Salesforce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759789#M240176</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/264750"&gt;@RandoDando&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am working on an application server.&amp;nbsp; Wouldn't the driver have to be installed there?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The driver needs to be on the same machine as SAS.&amp;nbsp; It sounds like that is the case, but we won't know for sure until we look into the ODBC Data Source Administrator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/264750"&gt;@RandoDando&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;maybe a passthrough query would work.&amp;nbsp; I've performed those, but Oracle and Sybase are a far cry from SF.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Oracle and Sybase are definitely different than Salesforce.&amp;nbsp; However, the nice thing about ODBC is that it does standardize the connection a bit, so there's that.&amp;nbsp; I'm willing to help if you'd like to try.&amp;nbsp; If not, then I think you'd have to export from SalesForce to csv or something and then import into SAS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you'd like to try, I would like to know these two pieces of information from Proc SetInit:&lt;/P&gt;
&lt;PRE&gt;Current version: 9.04.01M6P111518
Operating System:   WX64_SV .&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 19:52:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759789#M240176</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-08-05T19:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting SAS to Salesforce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759926#M240249</link>
      <description>I have another idea.  From my prior post above showing the available add-ins and drivers for my SAS server, would I be able to connect to MS Access?  I don't see "Access" in the list specifically, but does having other Office products there include that?</description>
      <pubDate>Fri, 06 Aug 2021 12:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759926#M240249</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2021-08-06T12:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting SAS to Salesforce</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759969#M240256</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/264750"&gt;@RandoDando&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I have another idea. From my prior post above showing the available add-ins and drivers for my SAS server, would I be able to connect to MS Access? I don't see "Access" in the list specifically, but does having other Office products there include that?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, you should be able to connect to Access.&amp;nbsp; If nothing else, you can do a Proc Import.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, export from SF to Access and then read Access from SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 14:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connecting-SAS-to-Salesforce/m-p/759969#M240256</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-08-06T14:51:12Z</dc:date>
    </item>
  </channel>
</rss>

