<?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 How to check a table is available with macro? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810318#M319553</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Sometimes the Excel extension resources I import are inaccessible due to node error, I want to check if this table is accessible with a macro, otherwise I want to unload this table and load it again with the .sashdat extension.&lt;BR /&gt;&lt;BR /&gt;is this possible?&lt;BR /&gt;&lt;BR /&gt;for example to algorithm(I am a beginner about sas syntax, I gave a general description);&lt;BR /&gt;if x table can accessible&lt;BR /&gt;&amp;nbsp; &amp;nbsp;do nothing&lt;BR /&gt;else&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unload x table&lt;BR /&gt;&amp;nbsp; &amp;nbsp;load x table.sashdat&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 08:41:33 GMT</pubDate>
    <dc:creator>spyds</dc:creator>
    <dc:date>2022-04-28T08:41:33Z</dc:date>
    <item>
      <title>How to check a table is available with macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810318#M319553</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Sometimes the Excel extension resources I import are inaccessible due to node error, I want to check if this table is accessible with a macro, otherwise I want to unload this table and load it again with the .sashdat extension.&lt;BR /&gt;&lt;BR /&gt;is this possible?&lt;BR /&gt;&lt;BR /&gt;for example to algorithm(I am a beginner about sas syntax, I gave a general description);&lt;BR /&gt;if x table can accessible&lt;BR /&gt;&amp;nbsp; &amp;nbsp;do nothing&lt;BR /&gt;else&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unload x table&lt;BR /&gt;&amp;nbsp; &amp;nbsp;load x table.sashdat&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 08:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810318#M319553</guid>
      <dc:creator>spyds</dc:creator>
      <dc:date>2022-04-28T08:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to check a table is available with macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810407#M319582</link>
      <description>&lt;P&gt;Are you using SAS&amp;nbsp;Add-In for Microsoft Office?&lt;/P&gt;
&lt;P&gt;If so are you asking for help with Excel programming? Or SAS programming?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or are you just using normal SAS to access some type of Excel file, like an XLSX file?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 16:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810407#M319582</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-28T16:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to check a table is available with macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810411#M319585</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/424202"&gt;@spyds&lt;/a&gt;&amp;nbsp;I'm not clear on what you are attempting to do.&amp;nbsp;&lt;BR /&gt;It sounds like you are asking if there's a way in SAS to identify if a file exists or not - In which case you need to look at &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/n01f5qrjoh9h4hn1olbdpb5pr2td.htm" target="_self"&gt;SAS Functions&lt;/A&gt;&amp;nbsp;(see External File functions) and specifically&amp;nbsp;&lt;A title="FILEEXIST Function" href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/n06xm8hwk0t0axn10gj16lfiri43.htm" target="_self"&gt;FILEEXIST Function&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 16:22:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810411#M319585</guid>
      <dc:creator>AMSAS</dc:creator>
      <dc:date>2022-04-28T16:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to check a table is available with macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810419#M319589</link>
      <description>&lt;P&gt;Hi, sorry my explanation is not detailed enough.&amp;nbsp;I am using sas viya and i&amp;nbsp;am accessing some data by importing excel documents instead of database connection.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sometimes these datas that i import are not available due to node errors, so i need the solution that includes the algorithm i mentioned upside, thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 17:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-check-a-table-is-available-with-macro/m-p/810419#M319589</guid>
      <dc:creator>spyds</dc:creator>
      <dc:date>2022-04-28T17:04:17Z</dc:date>
    </item>
  </channel>
</rss>

