<?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 Connect to SQLSVR( DATAsrc=&amp;quot;&amp;amp;varName&amp;quot;) ... won't connect in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-SQLSVR-DATAsrc-quot-amp-varName-quot-won-t-connect/m-p/417189#M280341</link>
    <description>&lt;P&gt;When I do this I get the error: "Data source name not found and no default driver specified" ... it's as if it is not resolving the variable &amp;amp;varName to the valid DSN that it contains.&amp;nbsp; Is there a way to connect in this fashion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2017 19:13:41 GMT</pubDate>
    <dc:creator>JohnJPS</dc:creator>
    <dc:date>2017-11-29T19:13:41Z</dc:date>
    <item>
      <title>Connect to SQLSVR( DATAsrc="&amp;varName") ... won't connect</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-SQLSVR-DATAsrc-quot-amp-varName-quot-won-t-connect/m-p/417189#M280341</link>
      <description>&lt;P&gt;When I do this I get the error: "Data source name not found and no default driver specified" ... it's as if it is not resolving the variable &amp;amp;varName to the valid DSN that it contains.&amp;nbsp; Is there a way to connect in this fashion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 19:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connect-to-SQLSVR-DATAsrc-quot-amp-varName-quot-won-t-connect/m-p/417189#M280341</guid>
      <dc:creator>JohnJPS</dc:creator>
      <dc:date>2017-11-29T19:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQLSVR( DATAsrc="&amp;varName") ... won't connect</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-SQLSVR-DATAsrc-quot-amp-varName-quot-won-t-connect/m-p/417208#M280342</link>
      <description>&lt;P&gt;Without the full code and logs there's no way of telling. Please run your program with OPTIONS MPRINT SYMBOLGEN; and provide us the details. Also, make sure it's formatted properly by pasting into a code segment (click on the {i} or running man icon).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And to test your connection I would suggest to insert the proper values verbatim instead of via a macro var reference. If that works you can take the next step and use macro's.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;- Jan.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 20:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connect-to-SQLSVR-DATAsrc-quot-amp-varName-quot-won-t-connect/m-p/417208#M280342</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2017-11-29T20:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Connect to SQLSVR( DATAsrc="&amp;varName") ... won't connect</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connect-to-SQLSVR-DATAsrc-quot-amp-varName-quot-won-t-connect/m-p/450366#M280343</link>
      <description>Using datasrc=&amp;amp;varname, and defining the varname to include the quotes worked.</description>
      <pubDate>Mon, 02 Apr 2018 14:38:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connect-to-SQLSVR-DATAsrc-quot-amp-varName-quot-won-t-connect/m-p/450366#M280343</guid>
      <dc:creator>JohnJPS</dc:creator>
      <dc:date>2018-04-02T14:38:20Z</dc:date>
    </item>
  </channel>
</rss>

