<?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: Begining of session action and end session processing in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255214#M4436</link>
    <description>&lt;P&gt;At least "Refresh spawner". Just try and see...&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2016 11:17:18 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-03-08T11:17:18Z</dc:date>
    <item>
      <title>Begining of session action and end session processing</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255208#M4433</link>
      <description>I have two macros of which: 1. (_printlog.sas): has to be executed at the start of ever Enterprise Guide session 2. (_printlogend.sas): And the other when the session is done running. Neither of them can be in Enterprise Guide itself - has to be in a configuration and autoexec file. We are running SAS 9.4 on Linux. Let me know if you need more info please. Please be specific in where what should be placed, as I have tried with no success. Many thanks Deon</description>
      <pubDate>Tue, 08 Mar 2016 10:04:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255208#M4433</guid>
      <dc:creator>Deonjpret</dc:creator>
      <dc:date>2016-03-08T10:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Begining of session action and end session processing</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255211#M4434</link>
      <description>&lt;P&gt;Is your request just for SAS Enterprise Guide sessions, or any application using a SAS Workspace server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is the latter, then have a look at the Logical Workspace Server options &amp;gt; Set Server Properties, there you can set a program to run at the beginning and at the end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2231i3F764EBA4AF5FCC7/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also have a look at the &lt;A href="http://support.sas.com/documentation/cdl/en/logug/67485/HTML/default/viewer.htm#n09ixzwi752s0cn1m3tvrrhu84ry.htm" target="_blank"&gt;SAS Logging Facility&lt;/A&gt;, maybe you can get the information you need also out of a log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 10:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255211#M4434</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-03-08T10:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Begining of session action and end session processing</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255213#M4435</link>
      <description>Hi Bruno_sas, Thank you for that. As I said, we are using a Linux environment. I copy the full path and macro name including .sas into the space. I asume I have to stop and start the Object spawner? Thank you again ...</description>
      <pubDate>Tue, 08 Mar 2016 10:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255213#M4435</guid>
      <dc:creator>Deonjpret</dc:creator>
      <dc:date>2016-03-08T10:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Begining of session action and end session processing</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255214#M4436</link>
      <description>&lt;P&gt;At least "Refresh spawner". Just try and see...&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 11:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255214#M4436</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-08T11:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Begining of session action and end session processing</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255738#M4447</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for all the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done it and found that it does not do what I intended. Allow me to explain in&lt;/P&gt;&lt;P&gt;the attachment what happened and what I expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 07:41:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255738#M4447</guid>
      <dc:creator>Deonjpret</dc:creator>
      <dc:date>2016-03-10T07:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Begining of session action and end session processing</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255740#M4448</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the document you showed, one can not see whether you actually called the macros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the code should look like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro _startjob;

/* your code */
%mend;

%_startJob&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also opening the Listing destination will not help, because SAS Enteprise Guide will generate code that closes all open destinations: (ods _all_ close;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To collect the SAS Log there better alternatives then the Proc PRINTTO, because using Proc PRINTTO means, you will not see the SAS Log in SAS Enterprise Guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you have a look at the mentioned &lt;A href="http://support.sas.com/documentation/cdl/en/logug/67485/HTML/default/viewer.htm#n09ixzwi752s0cn1m3tvrrhu84ry.htm" target="_blank" rel="nofollow"&gt;SAS Logging Facility&lt;/A&gt;, The App.Program logger is the one you want to use to capture the complete SAS Log of a session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look at this discussion as well &lt;A href="https://communities.sas.com/t5/SAS-Enterprise-Guide/Setting-log-level-for-the-workspace-server/td-p/183038" target="_blank"&gt;https://communities.sas.com/t5/SAS-Enterprise-Guide/Setting-log-level-for-the-workspace-server/td-p/183038&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 08:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255740#M4448</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-03-10T08:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Begining of session action and end session processing</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255759#M4450</link>
      <description>&lt;P&gt;Thank you for all that help and made suggestions. Awesome stuff. Love this forum.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 11:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Begining-of-session-action-and-end-session-processing/m-p/255759#M4450</guid>
      <dc:creator>Deonjpret</dc:creator>
      <dc:date>2016-03-10T11:46:25Z</dc:date>
    </item>
  </channel>
</rss>

