<?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: DI 3.4 : Update table metadata from source editor in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69270#M19880</link>
    <description>Hi Eduardo&lt;BR /&gt;
&lt;BR /&gt;
As much as I know there is no such built-in function or macro in SAS and I also don't know about a user written macro which is "published".&lt;BR /&gt;
&lt;BR /&gt;
Considering that table metadata contains also things like constraints and keys implementing automated metadata update functionality might be a bit more complicated than you think.&lt;BR /&gt;
&lt;BR /&gt;
Table metadata is something which shouldn't be subject to regular change and not all SAS tables have to be registered as metadata.&lt;BR /&gt;
&lt;BR /&gt;
I'm a regular SAS DI user and I wouldn't be pleased at all if you would automatically change "my" table metadata without having made an impact analysis.&lt;BR /&gt;
&lt;BR /&gt;
I have table metadata where the physical path / table name contains a macro variable which is dynamically populated during job execution and then points to a context specific physical table. The relation metadata table : SAS table is one:many.&lt;BR /&gt;
&lt;BR /&gt;
The questions for you will be: &lt;BR /&gt;
Where are these table metadata used?&lt;BR /&gt;
Is it necessary to have these tables registered at all?&lt;BR /&gt;
What is the possible impact if changing the metadata definitions?&lt;BR /&gt;
Who has to be informed?&lt;BR /&gt;
&lt;BR /&gt;
Cheers&lt;BR /&gt;
Patrick</description>
    <pubDate>Thu, 18 Mar 2010 18:44:28 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2010-03-18T18:44:28Z</dc:date>
    <item>
      <title>DI 3.4 : Update table metadata from source editor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69265#M19875</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I'm adding and modifying columns from a certain table, after running a little proc SQL in the source editor, the columns changes aren't visible when I look at the table properties, I have to update the table metadata first to see the desired changes.&lt;BR /&gt;
&lt;BR /&gt;
Since I want to automate this process, is there anyway to update the table metadata from the physical table in source editor (macro, or something else)?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;
Eduardo</description>
      <pubDate>Thu, 18 Mar 2010 11:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69265#M19875</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-18T11:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: DI 3.4 : Update table metadata from source editor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69266#M19876</link>
      <description>Eduardo&lt;BR /&gt;
&lt;BR /&gt;
To create/update table metadata from SAS file source is implemented in DIS 4.2&lt;BR /&gt;
&lt;BR /&gt;
Also that it's possible I wouldn't recommend to write own code for altering metadata. The risk to mess-up the whole repository is just to big.&lt;BR /&gt;
&lt;BR /&gt;
Cheers&lt;BR /&gt;
Patrick</description>
      <pubDate>Thu, 18 Mar 2010 11:40:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69266#M19876</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-03-18T11:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: DI 3.4 : Update table metadata from source editor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69267#M19877</link>
      <description>Hello Patrick,&lt;BR /&gt;
&lt;BR /&gt;
thanks for your quick answer, if I was in DIS 4.2 how could I do it?&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Eduardo</description>
      <pubDate>Thu, 18 Mar 2010 11:43:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69267#M19877</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-18T11:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: DI 3.4 : Update table metadata from source editor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69268#M19878</link>
      <description>Hi Eduardo&lt;BR /&gt;
&lt;BR /&gt;
Update existing table metadata:&lt;BR /&gt;
Right click on table node, choose "Update Metadata"&lt;BR /&gt;
&lt;BR /&gt;
Register new tables in repository:&lt;BR /&gt;
Right click on library node, "register tables"&lt;BR /&gt;
&lt;BR /&gt;
Cheers&lt;BR /&gt;
Patrick</description>
      <pubDate>Thu, 18 Mar 2010 17:35:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69268#M19878</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-03-18T17:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: DI 3.4 : Update table metadata from source editor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69269#M19879</link>
      <description>Hi Patrick,&lt;BR /&gt;
&lt;BR /&gt;
I think you misunderstood my question, I want to know if it is possible to update a table metadata by running some kind of script, without any human interaction.&lt;BR /&gt;
&lt;BR /&gt;
Basically I am altering tables with a proc sql, I want to know if there is any kind of command or macro that I can invoke and that updates the table metadata without having to interact with each altered table,&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
Eduardo</description>
      <pubDate>Thu, 18 Mar 2010 17:41:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69269#M19879</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-18T17:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: DI 3.4 : Update table metadata from source editor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69270#M19880</link>
      <description>Hi Eduardo&lt;BR /&gt;
&lt;BR /&gt;
As much as I know there is no such built-in function or macro in SAS and I also don't know about a user written macro which is "published".&lt;BR /&gt;
&lt;BR /&gt;
Considering that table metadata contains also things like constraints and keys implementing automated metadata update functionality might be a bit more complicated than you think.&lt;BR /&gt;
&lt;BR /&gt;
Table metadata is something which shouldn't be subject to regular change and not all SAS tables have to be registered as metadata.&lt;BR /&gt;
&lt;BR /&gt;
I'm a regular SAS DI user and I wouldn't be pleased at all if you would automatically change "my" table metadata without having made an impact analysis.&lt;BR /&gt;
&lt;BR /&gt;
I have table metadata where the physical path / table name contains a macro variable which is dynamically populated during job execution and then points to a context specific physical table. The relation metadata table : SAS table is one:many.&lt;BR /&gt;
&lt;BR /&gt;
The questions for you will be: &lt;BR /&gt;
Where are these table metadata used?&lt;BR /&gt;
Is it necessary to have these tables registered at all?&lt;BR /&gt;
What is the possible impact if changing the metadata definitions?&lt;BR /&gt;
Who has to be informed?&lt;BR /&gt;
&lt;BR /&gt;
Cheers&lt;BR /&gt;
Patrick</description>
      <pubDate>Thu, 18 Mar 2010 18:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DI-3-4-Update-table-metadata-from-source-editor/m-p/69270#M19880</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-03-18T18:44:28Z</dc:date>
    </item>
  </channel>
</rss>

