<?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: Macro contain file names to be deleted from location /test/user_id in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/792249#M253833</link>
    <description>thank you again macro is working fine for deleting specified files but is there a way we can let this macro to delete files like file1.csv , file1.pdf , file1.xlsx and more formats which we are not aware of ? we just have the file name as file1 but not sure about the extension . I tried putting some linux options but didn't work</description>
    <pubDate>Tue, 25 Jan 2022 18:34:41 GMT</pubDate>
    <dc:creator>kajal_30</dc:creator>
    <dc:date>2022-01-25T18:34:41Z</dc:date>
    <item>
      <title>Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791315#M253443</link>
      <description>&lt;P&gt;I have one macro &amp;amp;del_file which has values like file1,file2,file3 . I am trying to write a code to delete these files providing macro name in the code for deleting files.&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Kajal&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 22:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791315#M253443</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-01-20T22:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791317#M253444</link>
      <description>So what is your question?&lt;BR /&gt;What have you tried? Do you have a macro or macro variable? If you already have macro code can you share it?&lt;BR /&gt;&lt;BR /&gt;Here's a macro that shows you to delete a single file.&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/mcrolref/n02xowj8yuqfo4n0zzi98shu8qup.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/mcrolref/n02xowj8yuqfo4n0zzi98shu8qup.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you have a list of files to delete in a data set rather than macro variable, it's trivial to loop through and either use this macro + CALL EXECUTE() or just FEXIST()+FDELETE()</description>
      <pubDate>Thu, 20 Jan 2022 23:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791317#M253444</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-20T23:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791337#M253453</link>
      <description>&lt;P&gt;%macro check(del_file);&lt;BR /&gt;%if %sysfunc(fileexist(&amp;amp;del_file)) ge 1 %then %do;&lt;BR /&gt;%let rc=%sysfunc(filename(temp,&amp;amp;del_file));&lt;BR /&gt;%let rc=%sysfunc(fdelete(&amp;amp;temp));&lt;BR /&gt;%end;&lt;BR /&gt;%else %put The file &amp;amp;file does not exist;&lt;BR /&gt;%mend check;&lt;/P&gt;&lt;P&gt;%check(/user/rca/temp1.sas7bndx);&lt;/P&gt;&lt;P&gt;so I am looking for&amp;nbsp; a code which can delete multiple files . I have a macro del_file which has list of files&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let del_file = temp1.sas7bndx,temp2.sas7bndx,temp3.sas7bndx,temp4.sas7bndx&lt;/P&gt;&lt;P&gt;which I want to delete from&amp;nbsp;/user/rca/. Also this location has more files but I just want to delete selected ones.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 03:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791337#M253453</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-01-21T03:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791340#M253454</link>
      <description>&lt;P&gt;&lt;BR /&gt;data test;&lt;BR /&gt;infile datalines;&lt;BR /&gt;input file_nm $50.;&lt;BR /&gt;datalines;&lt;BR /&gt;temp1.sas7bndx&lt;BR /&gt;temp2.sas7bndx&lt;BR /&gt;temp3.sas7bndx&lt;BR /&gt;temp4.sas7bndx&lt;BR /&gt;temp5.sas7bndx&lt;BR /&gt;temp6.sas7bndx&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;set test;&lt;BR /&gt;call execute ('%nrstr (%%)macro check;&lt;BR /&gt;%if %sysfunc(fileexist(file_nm)) ge 1 %then %do;&lt;BR /&gt;%let rc=%sysfunc(filename(temp,file_nm));&lt;BR /&gt;%let rc=%sysfunc(fdelete(&amp;amp;temp));&lt;BR /&gt;%end;&lt;BR /&gt;%else %put The file &amp;amp;file does not exist;&lt;BR /&gt;%nrstr(%%)mend;');&lt;BR /&gt;run;&lt;BR /&gt;%check&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 04:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791340#M253454</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-01-21T04:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791344#M253457</link>
      <description>&lt;P&gt;You don’t put the macro definition in CALL Execute just the macro call, ie&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%check(filename);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the second link below OR in the Macro Appendix see the example to loop over a macro list and you can combine the two ideas.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;UCLA introductory tutorial on macro variables and macros&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Tutorial on converting a working program to a macro&lt;BR /&gt;This method is pretty robust and helps prevent errors and makes it much easier to debug your code. Obviously biased, because I wrote it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.md" target="_blank"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.md&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Examples of common macro usage&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/SAS-9-4-Macro-Language-Reference-Has-a-New-Appendix/ta-p/291716" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/SAS-9-4-Macro-Language-Reference-Has-a-New-Appendix/ta-p/291716&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 04:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791344#M253457</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-21T04:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791349#M253459</link>
      <description>&lt;P&gt;So you want to remove index files, the sas docs say:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Removing the index file can damage your SAS data set. Also, do not change its name or move it to a different directory. Use the DATASETS procedure to manage indexes. An index file ends with the extension .sas7bndx.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Using proc datasets is recommended.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 06:53:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791349#M253459</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-01-21T06:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791361#M253468</link>
      <description>&lt;P&gt;&amp;nbsp;This macro will delete a folder and recursively, all content within it:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mp__deletefolder_8sas.html" target="_blank"&gt;https://core.sasjs.io/mp__deletefolder_8sas.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;No need for XCMD&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 09:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791361#M253468</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2022-01-21T09:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791444#M253503</link>
      <description>&lt;P&gt;what if the files are like test.csv or test.xlsx . can we not handle them using index? my intension is to delete few files from the folder really doesn't matter if I am providing the list of files in a macro or dataset. Also no where I can see this kind a macro&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 14:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791444#M253503</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-01-21T14:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791471#M253515</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28909"&gt;@AllanBowe&lt;/a&gt;&amp;nbsp;I don't want to delete the whole directory but few selected files from the directory .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 16:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791471#M253515</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-01-21T16:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791761#M253671</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259983"&gt;@kajal_30&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;what if the files are like test.csv or test.xlsx . can we not handle them using index? my intension is to delete few files from the folder really doesn't matter if I am providing the list of files in a macro or dataset. Also no where I can see this kind a macro&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sorry, but i don't understand what you want to say.&lt;/P&gt;
&lt;P&gt;If you want to delete non-sas-files, using fdelete function is the best choice if you don't want or can't use os commands. BUT if you want to delete sas-files (dataset, index-files, catalogs etc), then using proc datasets is recommended to avoid errors and unusable datasets.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 06:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791761#M253671</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-01-24T06:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791916#M253728</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259983"&gt;@kajal_30&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;doesn't matter if I am providing the list of files in a macro or dataset.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Of course it matters, it matters to how the program is written and designed. You also need to provide a full file path, not just the file name.&lt;/P&gt;
&lt;P&gt;We've shown you code to delete one file. To delete a list of files is easy, you call the macro multiple times. Exactly how you do that depends on how the list is stored. You started trying that but put the macro code in CALL EXECUTE instead of the macro call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your example is slightly confusing because Index files are typically ones you would not want to delete, but I'll assume you understand that if you delete indexes you lose efficiency in accessing files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*list of files to take an action on;
data test;
infile datalines;
input file_nm $50.;
datalines;
/home/users/temp1.sas7bndx
/home/users/temp2.sas7bndx
/home/users/temp3.sas7bndx
/home/users/temp4.sas7bndx
/home/users/temp5.sas7bndx
/home/users/temp6.sas7bndx
;
run;

*action to do per file - delete file in this case;
%macro check(del_file);
%if %sysfunc(fileexist(&amp;amp;del_file)) ge 1 %then %do;
%let rc=%sysfunc(filename(temp, &amp;amp;del_file));
%let rc=%sysfunc(fdelete(&amp;amp;temp));
%end;
%else %put The file &amp;amp;file does not exist;
%mend check;

*call macro for each file;
data _null_;
set test;

str = catt('%check(', file_nm, ');');

call execute(str);

run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 17:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791916#M253728</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-24T17:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791940#M253747</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259983"&gt;@kajal_30&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have one macro &amp;amp;del_file which has values like file1,file2,file3 . I am trying to write a code to delete these files providing macro name in the code for deleting files.&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;
&lt;P&gt;Kajal&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So you have a list of filenames in a macro variable.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let del_file=file1.txt file2.csv file3.exe ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that if the names are not fully qualified then you also need to know the path to the directory where they exist.&lt;/P&gt;
&lt;P&gt;Let's just use the first example from the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.2/lefunctionsref/p0h945u5r0cv6yn1u6qs35hiqt9t.htm" target="_self"&gt;documentation for the FDELETE() function&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So first let's make some example files to delete:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let del_file=file1.txt file2.csv file3.exe ;
%let path=%sysfunc(pathname(work))/;

data _null_;
  length filename $256 ;
  do index=1 to countw(symget('del_file'),' ','mq');
    filename=cats(symget('path'),scan(symget('del_file'),index,' ','mq'));
    file dummy filevar=filename;
    put 'xxx';
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No let's run a data step to point a fileref at each file and use FDELETE() to remove it.&amp;nbsp; Let's add a non-existent file to the list to make sure we can detect that.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let del_file=&amp;amp;del_file nosuchfile;
data _null_;
  length fileref $8 filename $256 ;
  fileref="tempfile";
  do index=1 to countw(symget('del_file'),' ','mq');
    filename=cats(symget('path'),scan(symget('del_file'),index,' ','mq'));
    rc=filename(fileref,filename);
    if rc = 0 and fexist(fileref) then do;
       rc=fdelete(fileref);
       put 'Deleted ' filename= :$quote. rc= ;
    end;
    else do;
       put 'Could not find ' filename= :$quote. rc= ;
    end;
    rc=filename(fileref);
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 18:09:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/791940#M253747</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-01-24T18:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/792059#M253783</link>
      <description>Thank you so much for this. may I know what this 'mq' represents here</description>
      <pubDate>Tue, 25 Jan 2022 04:02:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/792059#M253783</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-01-25T04:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/792061#M253785</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259983"&gt;@kajal_30&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you so much for this. may I know what this 'mq' represents here&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Read the documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/1.0/lefunctionsref/p18xi2516ihygyn1qg1b1nby326k.htm" target="_self"&gt;COUNTW()&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/1.0/lefunctionsref/p0jshdjy2z9zdzn1h7k90u99lyq6.htm" target="_self"&gt;SCAN()&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 04:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/792061#M253785</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-01-25T04:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Macro contain file names to be deleted from location /test/user_id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/792249#M253833</link>
      <description>thank you again macro is working fine for deleting specified files but is there a way we can let this macro to delete files like file1.csv , file1.pdf , file1.xlsx and more formats which we are not aware of ? we just have the file name as file1 but not sure about the extension . I tried putting some linux options but didn't work</description>
      <pubDate>Tue, 25 Jan 2022 18:34:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-contain-file-names-to-be-deleted-from-location-test-user/m-p/792249#M253833</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-01-25T18:34:41Z</dc:date>
    </item>
  </channel>
</rss>

