<?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: Querying Dictionary.Tables and Error Messages in Enterprise Guide in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817133#M322534</link>
    <description>&lt;P&gt;In the work library are stored usually tables that are stored temporarily in a SAS session.&lt;/P&gt;
&lt;P&gt;The problem is that I cannot find the tables in the WORK library (because they do not exist) and I need to find a way to search these tables in the metadata server (if they exist, so as to delete them).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 15:46:41 GMT</pubDate>
    <dc:creator>vfarmak</dc:creator>
    <dc:date>2022-06-08T15:46:41Z</dc:date>
    <item>
      <title>Querying Dictionary.Tables and Error Messages in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817127#M322532</link>
      <description>&lt;P&gt;Dear SAS Communities,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing the below problem: when I try to query the Dictionary.Tables, error messages appear that denotes mistakes made either in ETL flows or in tables in general.&lt;/P&gt;
&lt;P&gt;Sometimes, if the table is located in a registered library, I can perform from SAS Data Integration Studio the Update metadata action and the problem is fixed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What should I in case the errors relate to the WORK library?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will give you an example of the error log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;30         PROC SQL;
31         CREATE TABLE TABLE_INFO AS
32         SELECT 	CATX(".", t1.LIBNAME, t1.MEMNAME) AS TABLE_NAME
33         	, t1.libname
34         	, t1.memname
35         	, t1.nobs as number_of_lines
36         	, "POLICY_MEDI_AS400_INV" as Target_Table
37         FROM 	DICTIONARY.TABLES t1 INNER JOIN
38         		WORK.POLICY_MEDI_AS400_INV t2 ON t1.MEMNAME = t2.Table_Name;
ERROR: File WORK.EXPENSES_APPEND.DATA does not exist.
ERROR: File WORK.W63JIK64.DATA does not exist.
ERROR: File WORK.W6ENSJCK.DATA does not exist.
ERROR: File WORK.W6ENRHRZ.DATA does not exist.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Vassileios&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 15:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817127#M322532</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2022-06-08T15:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Dictionary.Tables and Error Messages in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817130#M322533</link>
      <description>&lt;P&gt;Why would a WORK dataset not exist?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 15:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817130#M322533</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-08T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Dictionary.Tables and Error Messages in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817133#M322534</link>
      <description>&lt;P&gt;In the work library are stored usually tables that are stored temporarily in a SAS session.&lt;/P&gt;
&lt;P&gt;The problem is that I cannot find the tables in the WORK library (because they do not exist) and I need to find a way to search these tables in the metadata server (if they exist, so as to delete them).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 15:46:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817133#M322534</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2022-06-08T15:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Dictionary.Tables and Error Messages in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817211#M322566</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/309333"&gt;@vfarmak&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;In the work library are stored usually tables that are stored temporarily in a SAS session.&lt;/P&gt;
&lt;P&gt;The problem is that I cannot find the tables in the WORK library (because they do not exist) and I need to find a way to search these tables in the metadata server (if they exist, so as to delete them).&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the real question is why does the metadata server (i.e. the dictionary feature of PROC SQL) think these dataset files exist, when in fact they don't?&amp;nbsp; &amp;nbsp;Does this happen regularly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question: is there a possibility that the directory assigned to the work library also in use by another SAS process?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 21:23:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817211#M322566</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2022-06-08T21:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Dictionary.Tables and Error Messages in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817227#M322573</link>
      <description>&lt;P&gt;Is&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;WORK.POLICY_MEDI_AS400_INV&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;a dataset or a view?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 05:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817227#M322573</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-09T05:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Dictionary.Tables and Error Messages in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817247#M322581</link>
      <description>It is a dataset and not a view.&lt;BR /&gt;I tried to Query the Dictionary.Tables to find out about these types of messages (that include the error).&lt;BR /&gt;I searched and found out the PROC METALIB, but I do not know if I can list the problematic tables.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jun 2022 09:01:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817247#M322581</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2022-06-09T09:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Dictionary.Tables and Error Messages in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817249#M322583</link>
      <description>&lt;P&gt;Use of a DICTIONARY table in SQL causes a live scan of the requested objects. In the case of DICTIONARY.TABLES, SAS SQL does a directory listing of all assigned libraries, searching for *.sas7bdat, and then scans all found files for their metadata. While doing that, it converts all names to lowercase, so if you have a file&lt;/P&gt;
&lt;PRE&gt;Expenses_append.sas7bdat&lt;/PRE&gt;
&lt;P&gt;in your WORK, the file is found, but then SAS tries to read from&lt;/P&gt;
&lt;PRE&gt;expenses_append.sas7bdat&lt;/PRE&gt;
&lt;P&gt;and issues the message&lt;/P&gt;
&lt;PRE&gt;ERROR: File WORK.EXPENSES_APPEND.DATA does not exist.&lt;/PRE&gt;
&lt;P&gt;Is there anything in your code where you create stuff in WORK using file copy mechanisms or similar, bypassing the usual methods for creating datasets?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is not the case, your issue looks very much like something that requires opening a track with SAS Technical Support.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 09:11:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Querying-Dictionary-Tables-and-Error-Messages-in-Enterprise/m-p/817249#M322583</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-09T09:11:03Z</dc:date>
    </item>
  </channel>
</rss>

