<?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: Merge External Data Dictionary Information into DI Studio in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91303#M930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would have opted for DBSASLABEL as solution for what you want. But then checking the documentation for SAS/Access to SQL Server it appears that for some reason this option is not available.&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/acreldb/63144/HTML/default/viewer.htm#n0gz66qe8msnkyn1jgnhrr0l2k8y.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/63144/HTML/default/viewer.htm#n0gz66qe8msnkyn1jgnhrr0l2k8y.htm"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63144/HTML/default/viewer.htm#n0gz66qe8msnkyn1jgnhrr0l2k8y.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no doubt that Linus wrote a very robust macro to update SAS metadata, BUT: be very careful when writing to SAS Metadata! It's not recommended and if you get it wrong then you can corrupt your whole repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the number of tables is manageable then one way to go could be to run some queries writing the wanted information to textfiles. You can copy/paste whole lists (strings separated by CRLF) into table metadata opened with DIS or SMC (eg. the variable labels) very similar of how you would do it in an Excel spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never used Notes metadata though and so far didn't see lot of value in it. But I might learn something new here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2012 10:41:41 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2012-04-24T10:41:41Z</dc:date>
    <item>
      <title>Merge External Data Dictionary Information into DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91298#M925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Someone on my team saw a demonstration of DI Studio where the notes field for each data item had been populated from a SQL Server/ORACLE data dictionary.&lt;/P&gt;&lt;P&gt;This would be of great value to us as we access a great deal of SQL Server data in DI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 18:48:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91298#M925</guid>
      <dc:creator>mikersas</dc:creator>
      <dc:date>2012-04-20T18:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Merge External Data Dictionary Information into DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91299#M926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every single dot version of DIS adds new capability. It is therefore really important that you always state which version you're talking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what you mean by "notes field for each data item". Are you talking about variable labels here (column descriptions)? If so then simply create a libname pointing to the data base and register the tables in metadata. This should create SAS table metadata including the labels as derived from the DB tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2012 02:20:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91299#M926</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-04-21T02:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Merge External Data Dictionary Information into DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91300#M927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We'll be moving to DIS 4.3.&amp;nbsp; By the notes section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Notes_in_DIS.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/1950_Notes_in_DIS.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;The SQL Server tables we're referencing are already registered.&amp;nbsp; The descriptions we get in the label field are just&lt;/P&gt;&lt;P&gt;repeats of the column names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But most of the tables have real data dictionaries with useful information. It's this information we want to merge in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 13:25:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91300#M927</guid>
      <dc:creator>mikersas</dc:creator>
      <dc:date>2012-04-23T13:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Merge External Data Dictionary Information into DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91301#M928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a LIBANME option DBSASLABEL that lets you specify the COMPAT. That will give you the database column names as labels (like you already got). My guess is that SAS in future releases will have support (on an engine level) will support transmission of database description fields into SAS labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My have solved this by writing a macro that will import this information into SAS metadata (along with information such as constraints).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 14:37:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91301#M928</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-04-23T14:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Merge External Data Dictionary Information into DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91302#M929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&amp;nbsp; Is there a reference for this macro?&lt;/P&gt;&lt;P&gt;Sounds as if it may help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 14:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91302#M929</guid>
      <dc:creator>mikersas</dc:creator>
      <dc:date>2012-04-23T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Merge External Data Dictionary Information into DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91303#M930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would have opted for DBSASLABEL as solution for what you want. But then checking the documentation for SAS/Access to SQL Server it appears that for some reason this option is not available.&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/acreldb/63144/HTML/default/viewer.htm#n0gz66qe8msnkyn1jgnhrr0l2k8y.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/63144/HTML/default/viewer.htm#n0gz66qe8msnkyn1jgnhrr0l2k8y.htm"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63144/HTML/default/viewer.htm#n0gz66qe8msnkyn1jgnhrr0l2k8y.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no doubt that Linus wrote a very robust macro to update SAS metadata, BUT: be very careful when writing to SAS Metadata! It's not recommended and if you get it wrong then you can corrupt your whole repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the number of tables is manageable then one way to go could be to run some queries writing the wanted information to textfiles. You can copy/paste whole lists (strings separated by CRLF) into table metadata opened with DIS or SMC (eg. the variable labels) very similar of how you would do it in an Excel spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never used Notes metadata though and so far didn't see lot of value in it. But I might learn something new here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 10:41:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merge-External-Data-Dictionary-Information-into-DI-Studio/m-p/91303#M930</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-04-24T10:41:41Z</dc:date>
    </item>
  </channel>
</rss>

