<?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: convince SAS to &amp;quot;see&amp;quot; hidden files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890951#M352032</link>
    <description>&lt;P&gt;Hi Jos,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the article but it wont help.&amp;nbsp; It uses X statement.&amp;nbsp; And, as I wrote, I have NOXCMD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 09:26:57 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2023-08-25T09:26:57Z</dc:date>
    <item>
      <title>convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890941#M352026</link>
      <description>&lt;P&gt;Hey SAS-L,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The XCMD is &lt;EM&gt;turned off&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to convince SAS to, when running DREA(), DNUM() etc. functions, see hidden files too?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;x 'DIR /A';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;under Windows&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename f PIPE 'ls -a';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;under Linux or UNIX systems,&lt;/P&gt;
&lt;P&gt;but without OS level interaction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 07:43:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890941#M352026</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-08-25T07:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890948#M352030</link>
      <description>Hi Bart, have a look at this paper to see if it gives you ideas on how to approach your challenge: &lt;A href="http://www8.sas.com/scholars/Proceedings/2006/Applications/AP16_06.PDF" target="_blank"&gt;http://www8.sas.com/scholars/Proceedings/2006/Applications/AP16_06.PDF&lt;/A&gt;&lt;BR /&gt;Best regards, Jos</description>
      <pubDate>Fri, 25 Aug 2023 09:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890948#M352030</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-08-25T09:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890951#M352032</link>
      <description>&lt;P&gt;Hi Jos,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the article but it wont help.&amp;nbsp; It uses X statement.&amp;nbsp; And, as I wrote, I have NOXCMD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 09:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890951#M352032</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-08-25T09:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890957#M352035</link>
      <description>Have you seen this post? &lt;A href="https://communities.sas.com/t5/SAS-Programming/Delete-hidden-files/td-p/229878" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Delete-hidden-files/td-p/229878&lt;/A&gt;. It seems to have code using dread as you indicate. But like the solution indicates access to hidden files from within SAS using dread does not work. And my guess is that fdelete for a directory will result in an error because windows will not allow deletion of the hidden files in the directory. However I've seen some unexpected behaviour in some windows versions. I assume something like this will not work on a unix-based system.</description>
      <pubDate>Fri, 25 Aug 2023 09:57:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890957#M352035</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-08-25T09:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890960#M352037</link>
      <description>&lt;P&gt;yes, I read that one too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the FDELETE() will work with a hidden file, since it accepts a fileref and a fileref points to a particular object so this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename x "~/.test_hidden";
data _null_;
  file x;
  put "text";
run;
data _null_;
  rc = fdelete('x');
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;will work ok (I did a test on linux)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you have a list of hidden files you will be able to delete them, thing is to get that list with DOPEN, DREAD, DNUM, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 10:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890960#M352037</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-08-25T10:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890963#M352038</link>
      <description>&lt;P&gt;Here's a random thought:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does/would your system administrator permit use of some single other SAS session that allows XCMD with access to the same data storage as your sas session?&amp;nbsp;&amp;nbsp;Can that session be configured as the server for a sas/connect client session on your end?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Restricting access to that server&amp;nbsp;might be a way for sysadmins to maintain desired authorization restrictions, while you (as an authorized user) can have your sas/connect client use the server as a proxy for the needed xcmd actions.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 11:07:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890963#M352038</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2023-08-25T11:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890964#M352039</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well, it's not that easy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was thinking about a general solution, in particular this macro:&amp;nbsp;&lt;A href="https://github.com/SASPAC/baseplus/blob/main/baseplus.md#dirsandfiles-macro" target="_blank"&gt;https://github.com/SASPAC/baseplus/blob/main/baseplus.md#dirsandfiles-macro&lt;/A&gt;&amp;nbsp;which is OS independent solution, with no XCMD needed, but lacks that "see hidden files" feature.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was hoping that there is some SAS option which I missed that allows for such a "in depth" view. Unfortunately it looks like there is no way to do it without an OS access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 11:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/890964#M352039</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-08-25T11:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935845#M367901</link>
      <description>&lt;P&gt;Hi Bart,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you ever find a solution to this?&lt;/P&gt;
&lt;P&gt;I'm trying to delete a folder structure cloned from GitHub, that contains&amp;nbsp; .gitignore and .gitkeep files.&lt;/P&gt;
&lt;P&gt;I'm running into the same issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Lex&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 16:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935845#M367901</guid>
      <dc:creator>lexjansen</dc:creator>
      <dc:date>2024-07-15T16:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935857#M367907</link>
      <description>&lt;P&gt;Unfortunately I didn't find one &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Unless you have XCMD enabled and will to run OS commands, SAS functions won't help you.&lt;/P&gt;
&lt;P&gt;I also doubt that asking SAS for development will work... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 19:12:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935857#M367907</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-07-15T19:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935860#M367909</link>
      <description>&lt;P&gt;I just posted a SAS product suggestion&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Product-Suggestions/Make-quot-hidden-quot-files-accessible/idi-p/935859#M342" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 20:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935860#M367909</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-07-15T20:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935885#M367914</link>
      <description>&lt;P&gt;Voted&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 07:36:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935885#M367914</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-07-16T07:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935909#M367919</link>
      <description>Thanks, Kurt!</description>
      <pubDate>Tue, 16 Jul 2024 12:08:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/935909#M367919</guid>
      <dc:creator>lexjansen</dc:creator>
      <dc:date>2024-07-16T12:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/939009#M368771</link>
      <description>&lt;P&gt;My original use-case was being able to delete a folder structure cloned from GitHub.&lt;/P&gt;
&lt;P&gt;I was not able to do this, because the folder structure contained hidden files like .gitkeep and .gitignore.&lt;/P&gt;
&lt;P&gt;It turns out that the GIT_DELETE_REPO function does exactly what I was looking for.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The GIT_DELETE_REPO function deletes a specified local Git repository and all of the contents inside that repository.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And actually, the function does not seem to care whether the folder is a Git folder. It will just delete any folder structure.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data _null_;&lt;BR /&gt;  RC = GIT_DELETE_REPO('/home/lexjansen/dataset-json-sas');&lt;BR /&gt;  put RC=;&lt;BR /&gt;run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Aug 2024 18:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/939009#M368771</guid>
      <dc:creator>lexjansen</dc:creator>
      <dc:date>2024-08-12T18:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: convince SAS to "see" hidden files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/939017#M368772</link>
      <description>That's a fun workaround to delete a folder with files in it &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;</description>
      <pubDate>Mon, 12 Aug 2024 20:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/convince-SAS-to-quot-see-quot-hidden-files/m-p/939017#M368772</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-08-12T20:17:14Z</dc:date>
    </item>
  </channel>
</rss>

