<?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 another reason to upgrade to SAS9.3 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/another-reason-to-upgrade-to-SAS9-3/m-p/56100#M11973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAS9.3 the LOGPARM options which enable date and time and process-id to be added to a LOG file name, are also supported in the name of an ALTLOG file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for some time I have maintained a collection of updates to ensure for every SAS session (display manager) I keep a copy of the log. (they are very easy to admin/delete, but almost always &lt;STRONG&gt;impossible &lt;/STRONG&gt;to replace). The techniques varied from platform to platform and through releases of SAS.&lt;/P&gt;&lt;P&gt;Since release 6.07, the ALTLOG option has named a file to which a copy of the log is written. &lt;/P&gt;&lt;P&gt;On zOS it was easy to add system generated dates and times to the JCL or script to invoke SAS. &lt;/P&gt;&lt;P&gt;For unix and windows platforms, I have been keeping a few programs which update a config file with a new ALTLOG file name as each session starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From SAS9.3 I shall be able to retire these old solutions, and add to my config file something as simple as&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #0000ff;"&gt;-logparm "rollover=session"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #0000ff;"&gt;-altlog !mySASfiles\altlog#d#b#Y.#H#M#s.#p.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(should you want to try this out, these options can be added to the command which invokes SAS, &lt;/P&gt;&lt;P&gt;(or inserted in a sasv9.cfg file in your "My Documents" folder and invoke SAS.exe with NO options (when it searches according to the SAS9.2 rules at &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/a000104286.htm#searchrules"&gt;http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/a000104286.htm#searchrules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;( which are probably the same as the rules for SAS9.3 at &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/p0bmj7wjme32ayn1h4wim7trkhp6.htm#n126l40y4fx4ymn1gibbxcuicd7x"&gt;http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/p0bmj7wjme32ayn1h4wim7trkhp6.htm#n126l40y4fx4ymn1gibbxcuicd7x&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2011 11:21:29 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2011-11-29T11:21:29Z</dc:date>
    <item>
      <title>another reason to upgrade to SAS9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/another-reason-to-upgrade-to-SAS9-3/m-p/56100#M11973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAS9.3 the LOGPARM options which enable date and time and process-id to be added to a LOG file name, are also supported in the name of an ALTLOG file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for some time I have maintained a collection of updates to ensure for every SAS session (display manager) I keep a copy of the log. (they are very easy to admin/delete, but almost always &lt;STRONG&gt;impossible &lt;/STRONG&gt;to replace). The techniques varied from platform to platform and through releases of SAS.&lt;/P&gt;&lt;P&gt;Since release 6.07, the ALTLOG option has named a file to which a copy of the log is written. &lt;/P&gt;&lt;P&gt;On zOS it was easy to add system generated dates and times to the JCL or script to invoke SAS. &lt;/P&gt;&lt;P&gt;For unix and windows platforms, I have been keeping a few programs which update a config file with a new ALTLOG file name as each session starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From SAS9.3 I shall be able to retire these old solutions, and add to my config file something as simple as&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #0000ff;"&gt;-logparm "rollover=session"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #0000ff;"&gt;-altlog !mySASfiles\altlog#d#b#Y.#H#M#s.#p.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(should you want to try this out, these options can be added to the command which invokes SAS, &lt;/P&gt;&lt;P&gt;(or inserted in a sasv9.cfg file in your "My Documents" folder and invoke SAS.exe with NO options (when it searches according to the SAS9.2 rules at &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/a000104286.htm#searchrules"&gt;http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/a000104286.htm#searchrules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;( which are probably the same as the rules for SAS9.3 at &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/p0bmj7wjme32ayn1h4wim7trkhp6.htm#n126l40y4fx4ymn1gibbxcuicd7x"&gt;http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/p0bmj7wjme32ayn1h4wim7trkhp6.htm#n126l40y4fx4ymn1gibbxcuicd7x&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 11:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/another-reason-to-upgrade-to-SAS9-3/m-p/56100#M11973</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-11-29T11:21:29Z</dc:date>
    </item>
  </channel>
</rss>

