<?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 SAS Enterprise Guide library name (label) change - impact on EG scripts in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Enterprise-Guide-library-name-label-change-impact-on-EG/m-p/265976#M18450</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are trying to switch over from a Sybase 15.1&amp;nbsp;data base to MS SQL server 2016. In SAS Management Console, we have named the&amp;nbsp;libref 'sybsprod' (label: ATLAS) for Sybase&amp;nbsp;and&amp;nbsp;the libref 'live' (label: POCMSSQL)&amp;nbsp;for MS SQL.&amp;nbsp;The content of the two libraries are exactly the same (table names and columns).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;our SAS EG&amp;nbsp;scripts (6.1 version, and SAS Base 9.3), the tables are pointing to the 'ATLAS' label and now have to change to the 'POCMSSQL' table. If we are only changing the libref's in SAS Base, that would be an easy exercise. However, in the EG scripts we only have the manual change of the table references to the new library. We have almost 100 scrpts all over the company.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: We have only one production instance, where we do develop and deploy&amp;nbsp;live versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know an easy solution to switch library labels of all the tables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, do you see any other impact on the switch process?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance and best regards.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2016 09:15:16 GMT</pubDate>
    <dc:creator>marcus_daman</dc:creator>
    <dc:date>2016-04-25T09:15:16Z</dc:date>
    <item>
      <title>SAS Enterprise Guide library name (label) change - impact on EG scripts</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Enterprise-Guide-library-name-label-change-impact-on-EG/m-p/265976#M18450</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are trying to switch over from a Sybase 15.1&amp;nbsp;data base to MS SQL server 2016. In SAS Management Console, we have named the&amp;nbsp;libref 'sybsprod' (label: ATLAS) for Sybase&amp;nbsp;and&amp;nbsp;the libref 'live' (label: POCMSSQL)&amp;nbsp;for MS SQL.&amp;nbsp;The content of the two libraries are exactly the same (table names and columns).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;our SAS EG&amp;nbsp;scripts (6.1 version, and SAS Base 9.3), the tables are pointing to the 'ATLAS' label and now have to change to the 'POCMSSQL' table. If we are only changing the libref's in SAS Base, that would be an easy exercise. However, in the EG scripts we only have the manual change of the table references to the new library. We have almost 100 scrpts all over the company.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: We have only one production instance, where we do develop and deploy&amp;nbsp;live versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know an easy solution to switch library labels of all the tables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, do you see any other impact on the switch process?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance and best regards.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 09:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Enterprise-Guide-library-name-label-change-impact-on-EG/m-p/265976#M18450</guid>
      <dc:creator>marcus_daman</dc:creator>
      <dc:date>2016-04-25T09:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Guide library name (label) change - impact on EG scripts</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Enterprise-Guide-library-name-label-change-impact-on-EG/m-p/266001#M18455</link>
      <description>&lt;P&gt;Not sure how, and what impact in your EG scripts the library label has. Can you elaborate&amp;nbsp;and give some examples?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On power of SAS is that you can change the data source without changing your code. So my immediate thought would be to keep the same libref for the new database connection, and that would hopefully leave your code working without changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, EG is primarily an ad-hoc environment. If you wish to create production batch jobs within EG it is important to design the jobs accordingly. One principle&amp;nbsp;is to use meta librefs whenever appropriate.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 10:42:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Enterprise-Guide-library-name-label-change-impact-on-EG/m-p/266001#M18455</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-25T10:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Guide library name (label) change - impact on EG scripts</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Enterprise-Guide-library-name-label-change-impact-on-EG/m-p/266202#M18469</link>
      <description>&lt;P&gt;If you had more than one Production instance I think you could duplicate your database sources (different names/labels but same LIBREFs) and have the Sybase sources assigning only on one instance and the SQL Server instances only on the other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Setting up a new server instance would be helpful for testing also.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand the EG find/replace function can easily go through a program and automatically change all LIBREFs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 20:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Enterprise-Guide-library-name-label-change-impact-on-EG/m-p/266202#M18469</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-04-25T20:23:56Z</dc:date>
    </item>
  </channel>
</rss>

