<?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: How SAS EG connecting to DB2 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841367#M25408</link>
    <description>&lt;P&gt;It would help to see the code or the log.&amp;nbsp; Are you using a permanent library defined in SAS Management console?&amp;nbsp; If so - you may need to make the change in the SAS Management console/Data library&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 18:54:55 GMT</pubDate>
    <dc:creator>RajaMarla</dc:creator>
    <dc:date>2022-10-28T18:54:55Z</dc:date>
    <item>
      <title>DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840033#M25361</link>
      <description>&lt;P&gt;Could you please lets us know what change are required if we want to repoint the DB2 DB to new DB?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently we are using SAS, its connecting to DB2 DB called 'ABC' , Now we have created another DB 'XYZ' and we want to repoint the DB to 'XYZ' instead of 'ABC'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we access the UI and submit the jobs it will point to the new DB 'XYZ'&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 21:22:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840033#M25361</guid>
      <dc:creator>SS_B</dc:creator>
      <dc:date>2022-10-21T21:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840045#M25363</link>
      <description>&lt;P&gt;So how are you pointing to ABC now? Using a LIBNAME statement? Defining data libraries pointing to DB2 in SAS metadata? Please post an example LIBNAME if that is the way you connect to DB2.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 03:53:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840045#M25363</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-10-22T03:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840175#M25364</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Libname is defined in one of sas config file. We have not defined Libname in metadata.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname&amp;nbsp; DB_schema &amp;amp;DBFlavor user=abc&lt;BR /&gt;password=?????&lt;BR /&gt;&amp;amp;DBConnOpts&lt;BR /&gt;&amp;amp;DBLibOpts;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 00:48:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840175#M25364</guid>
      <dc:creator>SS_B</dc:creator>
      <dc:date>2022-10-24T00:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840178#M25365</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/423614"&gt;@SS_B&lt;/a&gt;&amp;nbsp; - Looks like you are using macro variables in your LIBNAME. Can you tell me what the values of those variables are? I have no idea where in the LIBNAME you are pointing to the ABC database. Need to know the value of both DBConnOpts and DBLibOpts.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 02:31:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840178#M25365</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-10-24T02:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840205#M25366</link>
      <description>&lt;P&gt;If XYZ have the same schema (table structures) and you are only querying, you probably only have to redirect the LIBNAME.&lt;/P&gt;
&lt;P&gt;If XYZ is not DB" and you do table updates, I would analyze the code and to some testing to be sure everything work as they should before "going live".&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 06:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840205#M25366</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-10-24T06:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840282#M25373</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp; Please see below details. Just want to let you know we have hardcoded DB name in more then 100 codes so its not practical change the DB name in sasconfig or all all these sas codes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we repoint DB name change outside of sas codes ? like JDBC level?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;%let &lt;SPAN&gt;DBConnOpts&amp;nbsp;&lt;/SPAN&gt;= %str(database=DBname);&lt;BR /&gt;%let &lt;SPAN&gt;DBLibOpts&lt;/SPAN&gt;= %str();&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840282#M25373</guid>
      <dc:creator>SS_B</dc:creator>
      <dc:date>2022-10-24T14:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840284#M25374</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp; New DB (XYZ) is clone of existing of DB(ABC) its has same schema name and other attributes. Can we change anything outside of sas codes? like JDFC&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:15:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840284#M25374</guid>
      <dc:creator>SS_B</dc:creator>
      <dc:date>2022-10-24T14:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840352#M25377</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/423614"&gt;@SS_B&lt;/a&gt;&amp;nbsp; - No, you can't as far as I know. It is a pity you didn't just define the LIBNAME in just one place like the SAS AUTOEXEC, or in SAS metadata. That's the way we do it. It will be a pain to fix 200 programs but that will make maintenance a lot easier afterwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does the user name and password change between users or is it static? If they change you might have to take a different approach.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 19:20:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840352#M25377</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-10-24T19:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840382#M25379</link>
      <description>&lt;P&gt;I don't about JDBC, but for ODBC you can fool around hand have an alias that point to new name.&lt;/P&gt;
&lt;P&gt;But I don't recommend it, it can be confusing if you try to understand an environment and then the server name doesn't match the reality.&lt;/P&gt;
&lt;P&gt;Given you example hopefully you only need to change in one place, given that you have a centralized setup with a shared autoexec.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840382#M25379</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-10-24T20:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 Repointing to New DB</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841240#M25392</link>
      <description>&lt;P&gt;The exact solution depends on whether you are using SAS Access Interface to Terradata or SAS Access interface to ODBC.&lt;BR /&gt;In a typical scenario where&amp;nbsp; ODBC&amp;nbsp; is being used&amp;nbsp; for the change mentioned in the post, changes need, changes need to be made in odbc.ini,&lt;BR /&gt;If there are changes to the driver too, them one needs to update the odbcinst.ini too.&lt;BR /&gt;In most scenarios the DBA's take care of this.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 23:39:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841240#M25392</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-10-27T23:39:00Z</dc:date>
    </item>
    <item>
      <title>How SAS EG connecting to DB2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841343#M25407</link>
      <description>&lt;P&gt;We have recently repoint the DB from abc to xyz by updating the DB2 agent catalog entry and we keep alias as a same as we have used alias in most of codes and also defined in WebSphere to connect the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Database alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= DB_connect (Not changed as same alias defined in sas codes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Database name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= XYZ (*****changed from abc to XYZ*****)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;After updating the catalog entry in DB and compute server, all the UI (websphere) connecting to new DB(XYZ) but when we run the sas code in SAS EG its still connecting to old DB (ABC) Please advise how I can troubleshoot?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 16:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841343#M25407</guid>
      <dc:creator>SS_B</dc:creator>
      <dc:date>2022-10-28T16:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS EG connecting to DB2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841367#M25408</link>
      <description>&lt;P&gt;It would help to see the code or the log.&amp;nbsp; Are you using a permanent library defined in SAS Management console?&amp;nbsp; If so - you may need to make the change in the SAS Management console/Data library&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 18:54:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841367#M25408</guid>
      <dc:creator>RajaMarla</dc:creator>
      <dc:date>2022-10-28T18:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS EG connecting to DB2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841476#M25409</link>
      <description>&lt;P&gt;How is SAS Connecting to DB2?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2022 17:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841476#M25409</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-10-29T17:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS EG connecting to DB2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841495#M25410</link>
      <description>&lt;P&gt;Not sure why you are asking the same question again that you asked in this earlier post: &lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840033#M25361" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/840033#M25361&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We were still waiting for you to reply on the original post. It appears you still haven't fully explained how your SAS DB2 connection is setup and configured so that's why it is not progressing. It would help if you provided a complete LIBNAME statement that works correctly with your old database, one without macro variables so we can see which LIBNAME engine you are using and so on. You can mask any sensitive stuff like user and password, but we need to see all of the connection options.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2022 23:28:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841495#M25410</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-10-29T23:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS EG connecting to DB2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841504#M25411</link>
      <description>&lt;P&gt;I merged this back into the original question thread.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2022 07:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841504#M25411</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-10-30T07:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS EG connecting to DB2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841648#M25418</link>
      <description>&lt;P&gt;We have fixed the issue by updating the new DB name in catalog entry and also updated the SAS EG autoexec file with correct new DB name.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 13:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841648#M25418</guid>
      <dc:creator>SS_B</dc:creator>
      <dc:date>2022-10-31T13:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS EG connecting to DB2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841772#M25423</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/423614"&gt;@SS_B&lt;/a&gt;&amp;nbsp;- Please update your post as answered in that case.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 21:15:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB2-Repointing-to-New-DB/m-p/841772#M25423</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-10-31T21:15:53Z</dc:date>
    </item>
  </channel>
</rss>

