<?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: run code on startup in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103054#M28859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is also possible (I think) to add these to the config file "SASV9.CFG".&amp;nbsp; You could then copy this file to use on other workstations, etc. and this could be quicker than saving the libs one by one if you have a lot of them.&amp;nbsp; You could also create a program to read a spreadsheet with the libraries/paths and programmatically assign them at the beginning of a program.&amp;nbsp; A compiled macro to do this would be a good idea too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2012 19:27:45 GMT</pubDate>
    <dc:creator>RickM</dc:creator>
    <dc:date>2012-05-03T19:27:45Z</dc:date>
    <item>
      <title>run code on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103052#M28857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have code like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname home "C:\My SAS Files\"; &lt;/P&gt;&lt;P&gt;libname folder1 "C:\My SAS Files\folder1\"; &lt;/P&gt;&lt;P&gt;libname folder2 "C:\My SAS Files\folder2\";&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which I have to run at startup to get my folders up into the system,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to do this automatically? without manual labor ever time I open SAS?up &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 18:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103052#M28857</guid>
      <dc:creator>skipper</dc:creator>
      <dc:date>2012-05-03T18:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: run code on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103053#M28858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If&amp;nbsp; you use PC SAS, please check the attached screenshots. make sure the "enable at startup" is checked.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10579iDFC72C3C7FE07033/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="part2.png" title="part2.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10580i4F2D454675056D9D/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="create per. library.png" title="create per. library.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 19:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103053#M28858</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-05-03T19:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: run code on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103054#M28859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is also possible (I think) to add these to the config file "SASV9.CFG".&amp;nbsp; You could then copy this file to use on other workstations, etc. and this could be quicker than saving the libs one by one if you have a lot of them.&amp;nbsp; You could also create a program to read a spreadsheet with the libraries/paths and programmatically assign them at the beginning of a program.&amp;nbsp; A compiled macro to do this would be a good idea too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 19:27:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103054#M28859</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2012-05-03T19:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: run code on startup</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103055#M28860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... if you create a file named AUTOEXEC.SAS in the folder where SAS.EXE is located, all statements in that file are executed at startup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one advantage, you get another PC ... use the same file rather than customizing using SAS windows-based commands&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 20:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/run-code-on-startup/m-p/103055#M28860</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-05-03T20:00:47Z</dc:date>
    </item>
  </channel>
</rss>

