<?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: Enabling DB2 access in SAS Studio in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290875#M941</link>
    <description>&lt;PRE&gt;
If you want use LIBNAME + DB2 engine to connect to DB2, you need make sure you have installed DB2 Client ,
and make sure have already build a category in SAS side to connect to DB2 successfully. Talk to your DB2 Admin.

&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Aug 2016 05:33:37 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-08-11T05:33:37Z</dc:date>
    <item>
      <title>Enabling DB2 access in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290820#M939</link>
      <description>&lt;P&gt;I am trying to access a set of DB2 databases within SAS Studio and am running into errors included in the log file below.&lt;BR /&gt;&lt;BR /&gt;In our stand alone version of SAS I get the same error if I forget to run&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE class="sasLog"&gt;. /db2aix/db2inst1/sqllib/db2profile&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;prior to starting SAS. If I run the above code, there are no issues accessing DB2 in our install of SAS.&lt;BR /&gt;&lt;BR /&gt;I have trield to execute db2profile statement as part of my SAS Studio autoexec as well as explicity running it within my script, neither of these methods seem to address this error&lt;BR /&gt;&lt;BR /&gt;Thouhts / suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; ERROR: Could not load /usr/sas/SASFoundation/9.4/sasexe/sasdbu (106 images loaded)
 ERROR: 0509-022 Cannot load module /usr/sas/SASFoundation/9.4/sasexe/sasdbu.0509-150   Dependent module libdb2.a(shr_64.o) could 
        not be loaded.0509-022 Cannot load module libdb2.a(shr_64.o).0509-026 System error: A file or directory in the path name 
        does not exist.0509-022 Cannot load module /usr/sas/SASFoundation/9.4/sasexe/sasdbu.0509-150   Dependent module 
        /usr/sas/SASFoundation/9.4/sasexe/sasdbu could not be loaded.
 60         
 61         
 62         libname qdattest db2 db=mydb user=me using=XXXXXXXXX;
 ERROR: The SAS/ACCESS Interface to DB2 cannot be loaded. The SASDBU   code appendage could not be loaded.
 ERROR: Error in the LIBNAME statement.&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 20:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290820#M939</guid>
      <dc:creator>bwalsh1</dc:creator>
      <dc:date>2016-08-10T20:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling DB2 access in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290875#M941</link>
      <description>&lt;PRE&gt;
If you want use LIBNAME + DB2 engine to connect to DB2, you need make sure you have installed DB2 Client ,
and make sure have already build a category in SAS side to connect to DB2 successfully. Talk to your DB2 Admin.

&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Aug 2016 05:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290875#M941</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-08-11T05:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling DB2 access in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290902#M942</link>
      <description>&lt;P&gt;You need to include&lt;/P&gt;
&lt;PRE&gt;. /db2aix/db2inst1/sqllib/db2profile&lt;/PRE&gt;
&lt;P&gt;in the WorkspaceServer_usermods.sh file. This file is included in WorkspaceServer.sh before SAS is started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;db2profile sets environment variables, but SAS reads those from its own environment block, which is set immediately at startup. Running the db2profile from within SAS does not change this environment block.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 07:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290902#M942</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-11T07:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling DB2 access in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290944#M944</link>
      <description>&lt;P&gt;Thank you for the quick feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a note into our sysadmin to make the changes, and will update this tread with the results.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 11:55:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/290944#M944</guid>
      <dc:creator>bwalsh1</dc:creator>
      <dc:date>2016-08-11T11:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling DB2 access in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/291021#M949</link>
      <description>&lt;P&gt;That did the trick.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;You need to include&lt;/P&gt;&lt;PRE&gt;. /db2aix/db2inst1/sqllib/db2profile&lt;/PRE&gt;&lt;P&gt;in the WorkspaceServer_usermods.sh file. This file is included in WorkspaceServer.sh before SAS is started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;db2profile sets environment variables, but SAS reads those from its own environment block, which is set immediately at startup. Running the db2profile from within SAS does not change this environment block.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 16:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/291021#M949</guid>
      <dc:creator>bwalsh1</dc:creator>
      <dc:date>2016-08-11T16:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling DB2 access in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/337044#M1970</link>
      <description>&lt;P&gt;what if we get the same error when running against local server? user has no issue when running remotely but when runningon his own machine giving the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The SAS/ACCESS Interface to DB2 cannot be loaded. The SASDBU&amp;nbsp;&amp;nbsp; code appendage could not be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loaded.&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS/ACCESS Interface to DB2 is installed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Note: Ealirer the same code was working in 9.3, we have installed 9.4 on user's machine then issue started when running code locally.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 16:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Enabling-DB2-access-in-SAS-Studio/m-p/337044#M1970</guid>
      <dc:creator>avinashginjupal</dc:creator>
      <dc:date>2017-03-01T16:06:27Z</dc:date>
    </item>
  </channel>
</rss>

