<?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: DB2 libname giving error in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564812#M16433</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980"&gt;@nhvdwalt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, here is Linux. But the User Id's are same for EG/DI and LSF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where i can find this environment variable '&lt;SPAN&gt;LD_LIBRARY_PATH' ?&amp;nbsp; I will cross check that once.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 06:26:03 GMT</pubDate>
    <dc:creator>AshwaniGupta</dc:creator>
    <dc:date>2019-06-10T06:26:03Z</dc:date>
    <item>
      <title>DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564807#M16430</link>
      <description>&lt;P&gt;Hello &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing one DB2 libname issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My libname getting assign perfectly while running on SAS EG or SAS DI Code editor . but when i scehdule our job and ran on SAS batch server (LSF platform process manager) it is giving issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is error Msg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Libname db2_XYZ Datasrc=ABC Schema =XXX Authdomain=XXXXXX;&lt;/P&gt;&lt;P&gt;ERROR: Error allocating CLI Environment.&lt;/P&gt;&lt;P&gt;ERROR: Error in libname statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.. I am surprise that the same libname connecting on EG or DI. just givinng error while running on LSF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 04:59:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564807#M16430</guid>
      <dc:creator>AshwaniGupta</dc:creator>
      <dc:date>2019-06-10T04:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564811#M16432</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257406"&gt;@AshwaniGupta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm assuming Linux here and that your LSF jobs run under a different user id than the EG/DI jobs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would start by checking that the environment variables needed to locate the DB2 client is set up the same for the different user ids. It's possible that the variable e.g. LD_LIBRARY_PATH is configured for the EG/DI user but not the LSF batch user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 06:20:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564811#M16432</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2019-06-10T06:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564812#M16433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980"&gt;@nhvdwalt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, here is Linux. But the User Id's are same for EG/DI and LSF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where i can find this environment variable '&lt;SPAN&gt;LD_LIBRARY_PATH' ?&amp;nbsp; I will cross check that once.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 06:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564812#M16433</guid>
      <dc:creator>AshwaniGupta</dc:creator>
      <dc:date>2019-06-10T06:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564813#M16434</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look in&amp;nbsp;&lt;STRONG&gt;!SASROOT/bin/sasenv_local&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look for 'SAS Access to DB2' in the below document:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf" target="_blank"&gt;http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is tells you what UNIX variables need to be set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also check the .bash_profile script for every user to ensure no variables are set there.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 06:36:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564813#M16434</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2019-06-10T06:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564815#M16435</link>
      <description>The engine is missing in your libname statements. What cli engine are you using? We use odbc .</description>
      <pubDate>Mon, 10 Jun 2019 06:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564815#M16435</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2019-06-10T06:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564819#M16436</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41119"&gt;@Lenvdb&lt;/a&gt;&amp;nbsp; ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, that's typo error.&amp;nbsp; We are using DB2 engine .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 07:20:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564819#M16436</guid>
      <dc:creator>AshwaniGupta</dc:creator>
      <dc:date>2019-06-10T07:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564821#M16437</link>
      <description>&lt;P&gt;Well spotted&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41119"&gt;@Lenvdb&lt;/a&gt;&amp;nbsp; !&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 07:29:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/564821#M16437</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2019-06-10T07:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/566139#M16491</link>
      <description>&lt;P&gt;This libname was working fine about a week ago.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked&amp;nbsp; variables files, there is no change recently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We also restart our LSF service as issue is only on LSF batch server. But still facing issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One strange thing i experience that when i use only libname statement in job (no other code), that time its working fine, but when we tried to run select statement that time only we are facing issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;LIBNAME db2 DB2&amp;nbsp; Datasrc=XXXX&amp;nbsp; &amp;nbsp;SCHEMA=TXN&amp;nbsp; AUTHDOMAIN="XXXXXXXX" ;&lt;/DIV&gt;&lt;DIV&gt;ERROR: Error allocating CLI environment.&lt;/DIV&gt;&lt;DIV&gt;ERROR: Error in the LIBNAME statement.&lt;/DIV&gt;&lt;DIV&gt;95&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;96&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data test;&lt;/DIV&gt;&lt;DIV&gt;97&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set db2.Table_name(obs=100);&lt;/DIV&gt;&lt;DIV&gt;ERROR: Libref DB2 is not assigned.&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jun 2019 10:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/566139#M16491</guid>
      <dc:creator>AshwaniGupta</dc:creator>
      <dc:date>2019-06-14T10:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 libname giving error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/566465#M16504</link>
      <description>&lt;P&gt;If it was working a week ago then what has changed since then? Worth checking with your DB2 Administrator in case anything has changed on the database side. SAS Tech Support is your best option for progressing this.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2019 20:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-libname-giving-error/m-p/566465#M16504</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-06-16T20:49:47Z</dc:date>
    </item>
  </channel>
</rss>

