<?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: Need help to design autoexec program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399031#M96593</link>
    <description>Need all that stuff in every job which includes .Sas and formats.&lt;BR /&gt;&lt;BR /&gt;I feel it not looks good to keep all .SAS codes with %include. So looking for any better idea.</description>
    <pubDate>Wed, 27 Sep 2017 05:56:02 GMT</pubDate>
    <dc:creator>Banu</dc:creator>
    <dc:date>2017-09-27T05:56:02Z</dc:date>
    <item>
      <title>Need help to design autoexec program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399016#M96586</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have autoexec.sas program which contains all libraries,global macro variables and database connections.&lt;/P&gt;&lt;P&gt;and have nearly 80 %include statements which points to diffirent unix paths which having .sas files and formats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am re writing the code, so pleae suggest how can I improvise my process to avaoid&amp;nbsp; so many %include statements.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 03:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399016#M96586</guid>
      <dc:creator>Banu</dc:creator>
      <dc:date>2017-09-27T03:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to design autoexec program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399023#M96589</link>
      <description>Do you need all that stuff in every SAS session?&lt;BR /&gt;&lt;BR /&gt;Include-statements are not bad, and 80% means nothing while not knowing the total number of lines.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2017 04:53:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399023#M96589</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2017-09-27T04:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to design autoexec program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399031#M96593</link>
      <description>Need all that stuff in every job which includes .Sas and formats.&lt;BR /&gt;&lt;BR /&gt;I feel it not looks good to keep all .SAS codes with %include. So looking for any better idea.</description>
      <pubDate>Wed, 27 Sep 2017 05:56:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399031#M96593</guid>
      <dc:creator>Banu</dc:creator>
      <dc:date>2017-09-27T05:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to design autoexec program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399039#M96596</link>
      <description>&lt;P&gt;For files containing macros, consider using the &lt;A href="http://support.sas.com/kb/24/451.html" target="_blank"&gt;autocall&lt;/A&gt; facility.&lt;/P&gt;
&lt;P&gt;For other includes, put them in one location; this will not reduce your number of %include's, but will make maintaining them easier in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Having lots of %include*s in the autoexec is not that bad; consider having to put them manually in each program you run. It's better to maintain them in one single file. If you don't want the code to clutter up your logs, consider using the nosource option temporarily while the autoexec executes.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:14:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399039#M96596</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-27T06:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to design autoexec program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399048#M96601</link>
      <description>&lt;P&gt;It is considered best practice these days to set up data sources / libraries in SAS metadata using SAS Management Console. Using the metadata approach gives you the ability to manage permissions more effectively than by just relying on OS permissions.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399048#M96601</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-09-27T06:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to design autoexec program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399061#M96611</link>
      <description>&lt;P&gt;Why don't you combine some of the files you're including so that you've got 1 file for libnames, 1 for global macro declarations, 1 for format locations etc? It would be much easier to maintain and make your autoexec easier to follow.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399061#M96611</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-09-27T07:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to design autoexec program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399215#M96676</link>
      <description>&lt;P&gt;If you don't like to see a large number of %include in your Autoexec you could make one %include file that calls the others. Just document it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* The following include file calls a number of other program files to reduce size of autoexec file*/&lt;/P&gt;
&lt;P&gt;%include 'Path/autoinclude.sas';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-to-design-autoexec-program/m-p/399215#M96676</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-27T15:04:08Z</dc:date>
    </item>
  </channel>
</rss>

