<?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: how does the autoexec work in sas viya? in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738399#M907</link>
    <description>&lt;P&gt;With traditional SAS execution the users could use the autoexec.sas to control the setup of the SAS environment that the code would run in.&amp;nbsp; &amp;nbsp;So you could create a project folder and configure the autoexec.sas file to setup things like librefs, filerefs, macro variables and then run a generic SAS program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like the equivalent in this structure is to create different Compute Context settings.&amp;nbsp; And then run a different command line call to invoke a different Compute Context when you run your SAS program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So perhaps instead of an autoexec.sas program in the project directory you would need to create a shell script that will be used to batch run the SAS programs in the proper context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it does look like the individual user has lost the ability to control the context that their SAS programs run in.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They either need to have administrator access to create new compute context settings or add startup code to every program that they want to run.&lt;/P&gt;</description>
    <pubDate>Sun, 02 May 2021 13:05:43 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-05-02T13:05:43Z</dc:date>
    <item>
      <title>how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738304#M903</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remembered we used to add few lines into autoexec (i.e&amp;nbsp;&lt;SPAN&gt;../BatchServer/autoexec(_usermods).sas.)&amp;nbsp;&lt;/SPAN&gt; to run some initial steps , for example, the report_date, the batch_date , compiling the macros and etc. These stuffs are very cool for us to handle the batch run for the whole intergradation .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;May I&amp;nbsp;know how do we do it in SAS VIYA?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 06:45:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738304#M903</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-05-01T06:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738317#M904</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suppose you are running your SAS jobs in batch modus?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See this communities article:&lt;/P&gt;
&lt;P&gt;How to Run SAS Programs in Batch in the New SAS Viya&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-Run-SAS-Programs-in-Batch-in-the-New-SAS-Viya/ta-p/732126" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-Run-SAS-Programs-in-Batch-in-the-New-SAS-Viya/ta-p/732126&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It shows you how to run an autoexec in SAS VIYA 3.5 versus later VIYA .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 10:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738317#M904</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-05-01T10:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738320#M905</link>
      <description>&lt;P&gt;That article does NOT show how you would implement an autoexec.sas functionality.&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 11:41:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738320#M905</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-01T11:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738379#M906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/379350"&gt;@elisehoo1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Viya, the autoexec is stored as part of the compute context.&amp;nbsp; To modify it you need to l&lt;SPAN style="font-family: inherit;"&gt;og onto SASEnvironment Manager as an &lt;/SPAN&gt;&lt;EM style="font-family: inherit;"&gt;administrator&lt;/EM&gt;&lt;SPAN style="font-family: inherit;"&gt;, select Contexts, View Compute Contexts.&amp;nbsp; Choose the relevant compute context (eg for SAS Studio, or Job Execution Service), click the edit icon, then click the "Advanced" tab.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can now enter autoexec statements and any startup options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To help automate this process, we (&lt;A href="https://sasapps.io" target="_self"&gt;Analytium SAS Apps team&lt;/A&gt;) built a tool that makes use of the Viya REST APIs to modify compute contexts.&amp;nbsp; The benefit of this approach is that you can keep your source configuration in GIT and deploy on demand.&amp;nbsp; The documentation for that is available here:&amp;nbsp;&amp;nbsp;&lt;A href="https://cli.sasjs.io/context/" target="_self"&gt;https://cli.sasjs.io/context&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have the administrator rights, you could also configure your jobs to include an autoexec as "precode".&amp;nbsp; &amp;nbsp;If you are using &lt;A href="https://cli.sasjs.io" target="_self"&gt;SASjs&lt;/A&gt; to compile your jobs / services / tests, you can do this via the &lt;A href="https://cli.sasjs.io/sasjsconfig.html#jobConfig_initProgram" target="_self"&gt;initProgram&lt;/A&gt; setting.&amp;nbsp; More info:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;&lt;A href="https://github.com/sascommunities/sas-global-forum-2021/blob/main/papers/1135-2021_Scaffolding-SAS-Projects/README.pdf" target="_self"&gt;https://github.com/sascommunities/sas-global-forum-2021/blob/main/papers/1135-2021_Scaffolding-SAS-Projects/README.pdf&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://cli.sasjs.io/compile" target="_blank"&gt;https://cli.sasjs.io/compile&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Example repository:&amp;nbsp;&amp;nbsp;&lt;A href="https://gitpod.io/#github.com/sasjs/template_jobs" target="_blank"&gt;https://gitpod.io/#github.com/sasjs/template_jobs&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Video:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=KKfUHTngSFo" target="_blank"&gt;https://www.youtube.com/watch?v=KKfUHTngSFo&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sun, 02 May 2021 13:11:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738379#M906</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-05-02T13:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738399#M907</link>
      <description>&lt;P&gt;With traditional SAS execution the users could use the autoexec.sas to control the setup of the SAS environment that the code would run in.&amp;nbsp; &amp;nbsp;So you could create a project folder and configure the autoexec.sas file to setup things like librefs, filerefs, macro variables and then run a generic SAS program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like the equivalent in this structure is to create different Compute Context settings.&amp;nbsp; And then run a different command line call to invoke a different Compute Context when you run your SAS program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So perhaps instead of an autoexec.sas program in the project directory you would need to create a shell script that will be used to batch run the SAS programs in the proper context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it does look like the individual user has lost the ability to control the context that their SAS programs run in.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They either need to have administrator access to create new compute context settings or add startup code to every program that they want to run.&lt;/P&gt;</description>
      <pubDate>Sun, 02 May 2021 13:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738399#M907</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-02T13:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738400#M908</link>
      <description>You can control the context used for running jobs via the "_contextname" URL parameter in the SASJobExecution web app.&lt;BR /&gt;&lt;BR /&gt;It's worth noting that in most enterprise SAS 9 deployments, the autoexec (eg autoexec_usermods.sas) file is also typically locked to those with admin rights.&lt;BR /&gt;</description>
      <pubDate>Sun, 02 May 2021 13:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738400#M908</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-05-02T13:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738402#M909</link>
      <description>&lt;P&gt;Not sure how URLs come into command line execution of SAS programs, but yeah it looks like it should be possible in someway to pass the context identifier as part of the command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have never had to use autoexec_usermods.sas files, but it looks to me like they are just part of the context configuration and not really the same thing as an autoexec.sas file in a normal command line SAS call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 May 2021 14:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738402#M909</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-02T14:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738404#M910</link>
      <description>Doesn't have to be a URL param - it can also be passed in under "parameters" in the input JSON to the REST APIs (here's an example for the SASjs adapter: &lt;A href="https://github.com/sasjs/adapter/blob/0aa0ae65e0cae3564177ba105ad90b73edf9073a/src/SASViyaApiClient.ts#L327" target="_blank"&gt;https://github.com/sasjs/adapter/blob/0aa0ae65e0cae3564177ba105ad90b73edf9073a/src/SASViyaApiClient.ts#L327&lt;/A&gt; )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The thing with Viya is that all requests are going through either the REST API, or through the job execution web service.  The CLI (eg the SASjs CLI or the official SAS CLIs) are just wrappers for making those requests.&lt;BR /&gt;&lt;BR /&gt;In reference to "normal command line SAS call", this isn't really a thing any more.  It IS possible to invoke the SAS exe from a Viya server, but that's really just a SAS 9 session, it's not "Viya aware" insofar as you can trigger viya services from SAS code without extra authentication etc..</description>
      <pubDate>Sun, 02 May 2021 15:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738404#M910</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-05-02T15:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738406#M911</link>
      <description>&lt;P&gt;We have come full circle back to how to implement the functionality of autoexec.sas for Viya (or for that matter any "enterprise" installation of SAS).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With an autoexec.sas program you could issue a command to run SAS program myreport.sas and essentially you are really asking it to run (autoexec.sas + myreport.sas).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there an equivalent with Viya?&amp;nbsp; Perhaps the implantation is not a text file of SAS statement.&amp;nbsp; Perhaps it is some other JSON object that you send along with your request to run myreport.sas ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 May 2021 15:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738406#M911</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-02T15:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738409#M912</link>
      <description>The only places in Viya that I know of, where you can set up an "automatic" autoexec, are:&lt;BR /&gt;&lt;BR /&gt;* The compute contexts (eg SAS Studio, SAS Job Execution).  This is the 'official', 'system' autoexec.&lt;BR /&gt;* The "user autoexec" in SAS Studio, this is user-specific and not useful for batch jobs.&lt;BR /&gt;&lt;BR /&gt;Beyond that it's a case of running precode as part of your code, somehow.  Maybe someone here, more knowledgeable, can correct me.  I don't see any other options in the REST API.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 02 May 2021 16:02:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/738409#M912</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-05-02T16:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/739401#M921</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is very useful information .it seems straight forward , just I am not sure how to create the&amp;nbsp;SAS_CLI_PROFILE yet.&amp;nbsp; &amp;nbsp;do share the sample if any , thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/sas/spre/home/SASFoundation/sas -autoexec "/opt/sas/viya/config/etc/workspaceserver/default/autoexec_deployment.sas" /tmp/1.sas -log /tmp/1.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/sas/viya/home/bin/sas-viya --profile ${SAS_CLI_PROFILE} batch jobs submit-pgm --pgm-path /tmp/1.sas --context default --watch-output --wait-log-list --results-dir /tmp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Elise&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 06:32:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/739401#M921</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-05-06T06:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741046#M942</link>
      <description>&lt;P&gt;Goodday&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28909"&gt;@AllanBowe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Wondering if anything i missed out here . appreciate if you can advise , Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. i had added few lines inside compute contexts from job execution compute context (first diagram)&lt;/P&gt;&lt;P&gt;2. trigger one of the scheduled job&amp;nbsp; (second diagram)&lt;/P&gt;&lt;P&gt;3. i checked the log but the %let statement that i put there was not executed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_0-1620895223858.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59307i16F09F947C7F430F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_0-1620895223858.png" alt="elisehoo1_0-1620895223858.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_1-1620895362398.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59308iCEC8693E7867CA96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_1-1620895362398.png" alt="elisehoo1_1-1620895362398.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 08:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741046#M942</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-05-13T08:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741068#M943</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/379350"&gt;@elisehoo1&lt;/a&gt; - two things:&lt;BR /&gt;&lt;BR /&gt;1) the options must be in "system option" format, not written as an options statement, eg with the initial dash.&amp;nbsp; See example &lt;A href="https://cli.sasjs.io/context/#compute-context-structure" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;2) you don't typically see the log from the autoexec in the resulting session.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On that last point - in testing I've also found (with a pooled session, in 3.5) that the autoexec is not "viya aware" - so you cannot set CASLIBs for instance, and not all macro variables are available.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 11:56:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741068#M943</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-05-13T11:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741738#M947</link>
      <description>&lt;P&gt;I tried this and it seems working well for both sas studio and sas job flow/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i added my necessary setup in sasv9_usermodes and autoexec_usermodes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/calcdc/3.5/calsrvpgm/n08002viyaprgmsrvs00000admin.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/calcdc/3.5/calsrvpgm/n08002viyaprgmsrvs00000admin.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_0-1621173954809.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59490i488A34AA84753C52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_0-1621173954809.png" alt="elisehoo1_0-1621173954809.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&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>Sun, 16 May 2021 14:09:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741738#M947</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-05-16T14:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741800#M948</link>
      <description>&lt;P&gt;Those are configuration files are for ALL of the SAS sessions.&lt;/P&gt;
&lt;P&gt;Which is different than how the autoexec.sas file works in normal SAS&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 01:07:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741800#M948</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-17T01:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741807#M949</link>
      <description>Good day Tom,&lt;BR /&gt;&lt;BR /&gt;May i know what are the difference btw them ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Elise</description>
      <pubDate>Mon, 17 May 2021 04:22:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741807#M949</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-05-17T04:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: how does the autoexec work in sas viya?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741913#M950</link>
      <description>&lt;P&gt;The configuration has to be set before SAS even starts and so impacts every SAS job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The autoexec was typically something a user could do to set the environment for the current job they are running (with the limitation that configuration options cannot change).&amp;nbsp; On a multi-user environment different users might want to have different things run before their programs run.&amp;nbsp; On even in a single user environment the user might be working on different projects that require different settings.&amp;nbsp; As long as those changes did not involve configuration settings users were free to create as many different environments are they wanted without having to get "systems admin" involved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I made have a standard program to do analysis.&amp;nbsp; And then multiple different projects that required that analysis.&amp;nbsp; I could set the details for the project into the autoexec.sas file and now the same program and be run unmodified for multiple projects.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 16:24:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-does-the-autoexec-work-in-sas-viya/m-p/741913#M950</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-17T16:24:09Z</dc:date>
    </item>
  </channel>
</rss>

