<?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: Configure connection to Sybase where password encryption is enabled in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249375#M6635</link>
    <description>&lt;P&gt;I did some research and I'm wondering if NOPROMPT is valid with Sybase as it is with ODBC, DB2, Oracle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this anyway:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   connect to sybase
   noprompt = "Data Source=xx.xx.xx.xx;Port=5000;Database=xxxx;Uid=xxx;
Pwd=xxx;";&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Feb 2016 07:54:29 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2016-02-11T07:54:29Z</dc:date>
    <item>
      <title>Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/233701#M5798</link>
      <description>&lt;P&gt;Is anyone familiar with configuring a SQL Pass-through connection in SAS to a Sybase database where password encryption is enabled?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using the sample connection:&lt;/P&gt;&lt;PRE&gt;connect to sybase as link
(server="dbserver" database="dbname" schema="link" user="userid"
password="password");&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This is encountering the below error.&lt;/P&gt;&lt;P&gt;ERROR: Connection failed. Error Code: -1640 Adaptive Server requires encryption of the login password on the network.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally, we would pass (encryptPassword=2) on the connection string. But I'm not familiar with how to pass this value to SAS connection string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 03:58:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/233701#M5798</guid>
      <dc:creator>geoffu8</dc:creator>
      <dc:date>2015-11-09T03:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/233884#M5869</link>
      <description>&lt;P&gt;A connection string can be defined in SAS like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;connect to sybase (noprompt = "Put your Sybase connection details here");&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Inside the quotes you can specify a user/password string in the form that Sybase would understand.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 18:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/233884#M5869</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-11-09T18:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/234159#M5897</link>
      <description>&lt;P&gt;Can you be more specific? How do I define the connection string? I tried this way :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;connect to sybase as link&lt;BR /&gt;&amp;nbsp; (noprompt = "Data Source=ServerName;Port=14112;Database=dbname;Uid=userid;Pwd=password;EncryptPassword=2;");&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That didn't seem to work. How do I define the connection string, like an ODBC connection ?&lt;/P&gt;&lt;P&gt;An example of the connection string would be useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 09:02:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/234159#M5897</guid>
      <dc:creator>geoffu8</dc:creator>
      <dc:date>2015-11-11T09:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/234260#M5899</link>
      <description>&lt;P&gt;Sorry I don't use Sybase but this link may help guide you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.connectionstrings.com/sybase-adaptive/" target="_blank"&gt;http://www.connectionstrings.com/sybase-adaptive/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You seem to be on the right track based on this link.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 18:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/234260#M5899</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-11-11T18:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/248986#M6624</link>
      <description>I'm also trying to use the Sybase connection string in SAS Enterprise guide, using above code to guide me. I receive an error "Invalid option name noprompt". should I be using another option?</description>
      <pubDate>Tue, 09 Feb 2016 17:47:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/248986#M6624</guid>
      <dc:creator>patelm</dc:creator>
      <dc:date>2016-02-09T17:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249281#M6633</link>
      <description>&lt;P&gt;Please post your code giving the error.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 18:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249281#M6633</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-02-10T18:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249284#M6634</link>
      <description>&lt;P&gt;proc sql;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; connect to sybase&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (noprompt = "Data Source=xx.xx.xx.xx;Port=5000;Database=xxxx;Uid=xxx;&lt;BR /&gt;Pwd=xxx;");&lt;BR /&gt;&lt;BR /&gt;create table xxx as&lt;BR /&gt;select * from connection to sybase (select&amp;nbsp; xxx from xxx);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;results in following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Invalid option name noprompt.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 18:47:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249284#M6634</guid>
      <dc:creator>patelm</dc:creator>
      <dc:date>2016-02-10T18:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249375#M6635</link>
      <description>&lt;P&gt;I did some research and I'm wondering if NOPROMPT is valid with Sybase as it is with ODBC, DB2, Oracle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this anyway:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   connect to sybase
   noprompt = "Data Source=xx.xx.xx.xx;Port=5000;Database=xxxx;Uid=xxx;
Pwd=xxx;";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2016 07:54:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249375#M6635</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-02-11T07:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249454#M6650</link>
      <description>&lt;P&gt;I appreciate your research.&amp;nbsp; I tried that and got these errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, AS. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with Oracle, I've successfully entered connection string data with "path="; there must be an equivalent for Sybase...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 15:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249454#M6650</guid>
      <dc:creator>patelm</dc:creator>
      <dc:date>2016-02-11T15:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249511#M6652</link>
      <description>&lt;P&gt;Sorry yes I think PATH works for Oracle, NOPROMPT works with ODBC, SQL Server and DB2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Sybase I think you need to use an interface file as documented here with the INTERFACE option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#n0xcqueed8s23cn14mfq7wviiyll.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#n0xcqueed8s23cn14mfq7wviiyll.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And here from Sybase:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc35823.1572/doc/html/san1334282782407.html" target="_blank"&gt;http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc35823.1572/doc/html/san1334282782407.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you talk to your Sybase DBA as he/she will be much more familiar with this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 18:49:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/249511#M6652</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-02-11T18:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Configure connection to Sybase where password encryption is enabled</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/287512#M8180</link>
      <description>&lt;P&gt;This issue is caused by PasswordEncryption option on the Sybase server is turned on. I am not sure if there is another option on the Sybase connection string in SAS. However, you can fix this from the Sybase driver level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On your local (or SAS server), you should have Sybase driver installed. In the driver directory, find the OCS-&amp;lt;XX&amp;gt;..\ini subdir. Locate the ocs.cfg file in the directory and add the folloing line to enable password encryption from this machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[SAS ACCESS]&lt;BR /&gt;CS_SEC_ENCRYPTION= CS_TRUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the ocs.cfg file does not exist, you can create this file. Additionally, you can add the default setting to turn on password encryption on the client side by adding this section in the ocs.cfg file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[DEFAULT]&lt;BR /&gt;CS_SEC_ENCRYPTION = CS_TRUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 16:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Configure-connection-to-Sybase-where-password-encryption-is/m-p/287512#M8180</guid>
      <dc:creator>BruceT</dc:creator>
      <dc:date>2016-07-27T16:03:20Z</dc:date>
    </item>
  </channel>
</rss>

