<?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: dictionary.extfiles column exists in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/dictionary-extfiles-column-exists/m-p/208677#M51718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, the reason is it is expecting exists to be used as a function.&lt;/P&gt;&lt;P&gt;A work around is use of a table alias:&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;select&amp;nbsp;&amp;nbsp; fileref,directory, a.exists, temporary, xpath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from dictionary.extfiles as a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL function Exists tests if a subquery returns one or more rows. So without the table identifier it expects EXISTS to be used as a function.&lt;/P&gt;&lt;P&gt;Probably wasn't the best idea to name a column in the dictionary table with that name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2015 21:35:39 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-06-17T21:35:39Z</dc:date>
    <item>
      <title>dictionary.extfiles column exists</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/dictionary-extfiles-column-exists/m-p/208676#M51717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sure I know enough sql to be dangerous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone offer an explanation as to why I cannot reorder the variables in the the sql dictionary.extfiles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC sql; describe table dictionary.extfiles;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from dictionary.extfiles;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp; fileref,directory,temporary,xpath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from&amp;nbsp;&amp;nbsp; dictionary.extfiles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order&amp;nbsp;&amp;nbsp; by fileref;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ******&amp;nbsp;&amp;nbsp; fails;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp; fileref,directory,exists,temporary,xpath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from dictionary.extfiles;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A quick perusal of the OnLineDoc finds there is a function named exists in the GTL: Graph Template Language.q&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OpSys: Win XP 32&lt;/P&gt;&lt;P&gt;SAS v9.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 21:20:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/dictionary-extfiles-column-exists/m-p/208676#M51717</guid>
      <dc:creator>Ron_MacroMaven</dc:creator>
      <dc:date>2015-06-17T21:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: dictionary.extfiles column exists</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/dictionary-extfiles-column-exists/m-p/208677#M51718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, the reason is it is expecting exists to be used as a function.&lt;/P&gt;&lt;P&gt;A work around is use of a table alias:&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;select&amp;nbsp;&amp;nbsp; fileref,directory, a.exists, temporary, xpath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from dictionary.extfiles as a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL function Exists tests if a subquery returns one or more rows. So without the table identifier it expects EXISTS to be used as a function.&lt;/P&gt;&lt;P&gt;Probably wasn't the best idea to name a column in the dictionary table with that name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 21:35:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/dictionary-extfiles-column-exists/m-p/208677#M51718</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-06-17T21:35:39Z</dc:date>
    </item>
  </channel>
</rss>

