<?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: Update to all SAS programs in a folder in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/578583#M13378</link>
    <description>&lt;P&gt;Google finds many utilities that will do this. Search for&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;bulk change text in folder&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 22:14:55 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-08-01T22:14:55Z</dc:date>
    <item>
      <title>Update to all SAS programs in a folder</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/577435#M13209</link>
      <description>&lt;P&gt;I would like to make changes in all SAS programs in a folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example I would like to replace "Apple"&amp;nbsp; with&amp;nbsp; "Orange" in all the programs that has "Apple". Is there a way to it in one shot?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 16:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/577435#M13209</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2019-07-29T16:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update to all SAS programs in a folder</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/577437#M13210</link>
      <description>&lt;P&gt;You could write SAS code that reads each line of each program in the folder, and then changes "Apple" to "Orange", and then writes the text out to a new file. I wouldn't be surprised if some program to do this already exists. And of course, there are non-SAS ways to accomplish this as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the text in this example is something like a server location, or something else that you know might change in the future, I handle this by setting a macro variable with the location of the server location in my AUTOEXEC file, and then I use this macro variable in every program that refers to this server location. At some point in the future, when the server location changes, I only have to change the value of the macro variable assigned in the AUTOEXEC, and all my programs will refer to the new server location.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 16:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/577437#M13210</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-29T16:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update to all SAS programs in a folder</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/577484#M13218</link>
      <description>&lt;P&gt;Aside from contemplating the use of (a) macro variable(s), as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;suggested, this might also be an opportunity (if you work on a UNIX system) to get yourself acquainted with &lt;FONT face="courier new,courier"&gt;find&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;awk&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 18:37:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/577484#M13218</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-29T18:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update to all SAS programs in a folder</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/578566#M13376</link>
      <description>&lt;P&gt;But the OS is Windows.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 20:34:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/578566#M13376</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2019-08-01T20:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Update to all SAS programs in a folder</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/578583#M13378</link>
      <description>&lt;P&gt;Google finds many utilities that will do this. Search for&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;bulk change text in folder&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 22:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/578583#M13378</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-01T22:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Update to all SAS programs in a folder</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/579070#M13398</link>
      <description>Can you use powershell? Or, if you have notepad++ you can use it to modify all files in a folder.</description>
      <pubDate>Mon, 05 Aug 2019 05:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Update-to-all-SAS-programs-in-a-folder/m-p/579070#M13398</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-08-05T05:26:15Z</dc:date>
    </item>
  </channel>
</rss>

