<?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 Connection to DB2 from SAS via clpplus in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-DB2-from-SAS-via-clpplus/m-p/650139#M194971</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did anybody try calling DB2 clpplus from SAS Client tools via Unix Command (X (or) %sysexec??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently SAS are installed in Linux servers and the DB2 servers are catalogued in our DB2 drivers installed in SAS machines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I tried launching clpplus from Command line , I can able to successfully connect to DB2 database.&lt;/P&gt;
&lt;P&gt;But when I launch clpplus from SAS Clients (EG) , Im trying the below failure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[jcc][t4][2030][11211][4.25.23] A communication error occurred during operations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on the connection's underlying socket, socket input stream,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or socket output stream. Error location: Reply.fill() - socketInputStream.read&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(-1). Message: Received fatal alert: handshake_failure. ERRORCODE=-4499,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQLSTATE=08001&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DB250018E: A connection attempt during the CLPPlus environment start sequence&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;failed. The CLPPlus environment failed to start.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't really think the above issue is to deal with any SAS programming. Do anybody have any idea on the issue please.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm struggling to resolve this for the past few months.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 24 May 2020 07:20:42 GMT</pubDate>
    <dc:creator>helannivas88</dc:creator>
    <dc:date>2020-05-24T07:20:42Z</dc:date>
    <item>
      <title>Connection to DB2 from SAS via clpplus</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-DB2-from-SAS-via-clpplus/m-p/650139#M194971</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did anybody try calling DB2 clpplus from SAS Client tools via Unix Command (X (or) %sysexec??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently SAS are installed in Linux servers and the DB2 servers are catalogued in our DB2 drivers installed in SAS machines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I tried launching clpplus from Command line , I can able to successfully connect to DB2 database.&lt;/P&gt;
&lt;P&gt;But when I launch clpplus from SAS Clients (EG) , Im trying the below failure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[jcc][t4][2030][11211][4.25.23] A communication error occurred during operations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on the connection's underlying socket, socket input stream,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or socket output stream. Error location: Reply.fill() - socketInputStream.read&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(-1). Message: Received fatal alert: handshake_failure. ERRORCODE=-4499,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQLSTATE=08001&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DB250018E: A connection attempt during the CLPPlus environment start sequence&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;failed. The CLPPlus environment failed to start.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't really think the above issue is to deal with any SAS programming. Do anybody have any idea on the issue please.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm struggling to resolve this for the past few months.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 07:20:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-DB2-from-SAS-via-clpplus/m-p/650139#M194971</guid>
      <dc:creator>helannivas88</dc:creator>
      <dc:date>2020-05-24T07:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to DB2 from SAS via clpplus</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-DB2-from-SAS-via-clpplus/m-p/650140#M194972</link>
      <description>&lt;P&gt;When you log on to the commandline, your personal profile is executed, and that will include the necessary environment variables for the DB2 client.&lt;/P&gt;
&lt;P&gt;When working with EG, the workspace server inherits its settings from the object spawner, which is started from the SAS installation user.&lt;/P&gt;
&lt;P&gt;Have your SAS admin check what is necessary for DB2 to work, and include it in the WorkspaceServer_usermods.sh file.&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 07:44:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-DB2-from-SAS-via-clpplus/m-p/650140#M194972</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-24T07:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to DB2 from SAS via clpplus</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Connection-to-DB2-from-SAS-via-clpplus/m-p/651136#M195326</link>
      <description>&lt;P&gt;Thanks Kurt. Its due to Java library . SAS session points to different JRE and command line session points to different Java.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 16:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Connection-to-DB2-from-SAS-via-clpplus/m-p/651136#M195326</guid>
      <dc:creator>helannivas88</dc:creator>
      <dc:date>2020-05-27T16:46:37Z</dc:date>
    </item>
  </channel>
</rss>

