<?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: Create and Register Tables (automatically) in Enterprise Guide in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118995#M9968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a difference between a physical table (the one you create in your SQL job) and a metadata table object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a physical table then you can create a metadata table object (which is needed to build the cube) by simply using the attributes of the physical table and synching it with metadata. That's what I assume you've done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now even if you delete the physical table the table metadata object will still exist. You will get an error/warning when you click on it to see the underlying physical data (as there is none) but the object as such is still there. Just re-run your code creating the physical table and things will work again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's kind of like if you create a view. Only because you delete the table doesn't delete the view. The view won't work without the table but simply by re-creating the table the view will work again without any need to touch the view at all. And also like view and table: If the structure of the physical table changes (eg. column added or removed) the you have to re-created the view (or sync the metadata table object with the physical table).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2012 09:00:48 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2012-09-14T09:00:48Z</dc:date>
    <item>
      <title>Create and Register Tables (automatically) in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118992#M9965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within Enterprise Guide 5.1, I am using PROC SQL to create a table within a BASE SAS library I had already created called 'DEV'.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sample: &lt;/P&gt;&lt;P&gt;create table dev.subscription_billing_failures as&lt;/P&gt;&lt;P&gt;select *...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating the table within the 'DEV' library, I went to build a cube from it and found that I could not do so until I registered it.&amp;nbsp; The table that I am creating in Enterprise Guide will be dropped and recreated daily as part of a scheduled job.&amp;nbsp; Is there a way to also register this table every day as part of the automated process so that I don't have to do so manually?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 20:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118992#M9965</guid>
      <dc:creator>garretta</dc:creator>
      <dc:date>2012-09-11T20:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create and Register Tables (automatically) in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118993#M9966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want you code run when server is connected, try click:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tools-options-sas programs- check "submit sas code when serve is connected" - edit, paste your code there. Attached is a screen shot.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11722iC7508E9D5B8793D1/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="eg.png" title="eg.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 22:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118993#M9966</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-09-11T22:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create and Register Tables (automatically) in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118994#M9967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Synchronising your SAS metadata with changed SAS data libraries can be done in a number of ways including:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Running PROC METALIB.&lt;/P&gt;&lt;P&gt;2) Use EG 5.1 Tools &amp;gt; Update Library Metadata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This document gives you more details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/onlinedoc/guide/EG43MetaLibraries.pdf"&gt;http://support.sas.com/documentation/onlinedoc/guide/EG43MetaLibraries.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;While it describes EG 4.3, the same applies to EG 5.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 00:16:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118994#M9967</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2012-09-14T00:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create and Register Tables (automatically) in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118995#M9968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a difference between a physical table (the one you create in your SQL job) and a metadata table object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a physical table then you can create a metadata table object (which is needed to build the cube) by simply using the attributes of the physical table and synching it with metadata. That's what I assume you've done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now even if you delete the physical table the table metadata object will still exist. You will get an error/warning when you click on it to see the underlying physical data (as there is none) but the object as such is still there. Just re-run your code creating the physical table and things will work again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's kind of like if you create a view. Only because you delete the table doesn't delete the view. The view won't work without the table but simply by re-creating the table the view will work again without any need to touch the view at all. And also like view and table: If the structure of the physical table changes (eg. column added or removed) the you have to re-created the view (or sync the metadata table object with the physical table).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 09:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-and-Register-Tables-automatically-in-Enterprise-Guide/m-p/118995#M9968</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-09-14T09:00:48Z</dc:date>
    </item>
  </channel>
</rss>

