<?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: I jst need add a new note in the SAS initial Log file. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64906#M14112</link>
    <description>submitted incomplete response ,&lt;BR /&gt;
&lt;BR /&gt;
LOGnote1 provides a replacement for "The SAS System" title line that appears in the log file of batch SAS runs.&lt;BR /&gt;
&lt;BR /&gt;
LogNote2 provides a trailer message in the log&lt;BR /&gt;
&lt;BR /&gt;
because I work with a mixture of config files, it is easy to "inherit" these batch options from the "current folder" in which SAS starts.&lt;BR /&gt;
&lt;BR /&gt;
a useful alternative might be the -NEWS option&lt;BR /&gt;
it refers to a file that will be echo-ed into the SAS log as this demo indicates[pre]NOTE: SAS 9.1.3 Service Pack 4 &lt;BR /&gt;
 &lt;BR /&gt;
news about your sas environments&lt;BR /&gt;
  &lt;BR /&gt;
 &lt;BR /&gt;
NOTE: SAS initialization used:[/pre]</description>
    <pubDate>Wed, 18 Aug 2010 12:51:06 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2010-08-18T12:51:06Z</dc:date>
    <item>
      <title>I jst need add a new note in the SAS initial Log file.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64902#M14108</link>
      <description>Hi ,&lt;BR /&gt;
&lt;BR /&gt;
Can you please help me.&lt;BR /&gt;
&lt;BR /&gt;
I just want to add a new note in the SAS log file  like:&lt;BR /&gt;
&lt;BR /&gt;
Note: The program is running on " SAS PROD" server.&lt;BR /&gt;
&lt;BR /&gt;
After the  following notes&lt;BR /&gt;
NOTE: Copyright (c) 2002-2008 by SAS Institute Inc., Cary, NC, USA.&lt;BR /&gt;
NOTE: SAS (r) Proprietary Software 9.2 &lt;BR /&gt;
&lt;BR /&gt;
SO that when the user runs the log file , he can see which server he is running.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks in Advance.&lt;BR /&gt;
&lt;BR /&gt;
Best Regards</description>
      <pubDate>Wed, 18 Aug 2010 08:02:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64902#M14108</guid>
      <dc:creator>Uli</dc:creator>
      <dc:date>2010-08-18T08:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: I jst need add a new note in the SAS initial Log file.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64903#M14109</link>
      <description>try adding your message to autoexec.sas&lt;BR /&gt;
if the file does not exists create the one in the same path where sas.exe resides&lt;BR /&gt;
e.g. -&lt;BR /&gt;
%put  The Program is running on SAS PROD Server ;</description>
      <pubDate>Wed, 18 Aug 2010 08:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64903#M14109</guid>
      <dc:creator>DataShare</dc:creator>
      <dc:date>2010-08-18T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: I jst need add a new note in the SAS initial Log file.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64904#M14110</link>
      <description>try system options LogNote1 and 2 which appears at the end)</description>
      <pubDate>Wed, 18 Aug 2010 12:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64904#M14110</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-08-18T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: I jst need add a new note in the SAS initial Log file.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64905#M14111</link>
      <description>Check out using AUTOEXEC (with some "init" code) to probe your running-OS attributes, and possibly also NEWS for a static message displayed in the start of the log.  Suggest you review the SAS companion document for your OS, as well as searching the SAS support website for supplemental technical / conference reference material on this topic.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 18 Aug 2010 12:50:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64905#M14111</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-08-18T12:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: I jst need add a new note in the SAS initial Log file.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64906#M14112</link>
      <description>submitted incomplete response ,&lt;BR /&gt;
&lt;BR /&gt;
LOGnote1 provides a replacement for "The SAS System" title line that appears in the log file of batch SAS runs.&lt;BR /&gt;
&lt;BR /&gt;
LogNote2 provides a trailer message in the log&lt;BR /&gt;
&lt;BR /&gt;
because I work with a mixture of config files, it is easy to "inherit" these batch options from the "current folder" in which SAS starts.&lt;BR /&gt;
&lt;BR /&gt;
a useful alternative might be the -NEWS option&lt;BR /&gt;
it refers to a file that will be echo-ed into the SAS log as this demo indicates[pre]NOTE: SAS 9.1.3 Service Pack 4 &lt;BR /&gt;
 &lt;BR /&gt;
news about your sas environments&lt;BR /&gt;
  &lt;BR /&gt;
 &lt;BR /&gt;
NOTE: SAS initialization used:[/pre]</description>
      <pubDate>Wed, 18 Aug 2010 12:51:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-jst-need-add-a-new-note-in-the-SAS-initial-Log-file/m-p/64906#M14112</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-08-18T12:51:06Z</dc:date>
    </item>
  </channel>
</rss>

