<?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: Preserving Color Coding in Log Window when saving log to a file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7916#M184</link>
    <description>Last August a similar topic &lt;A href="http://support.sas.com/forums/thread.jspa?messageID=40482鸢" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=40482鸢&lt;/A&gt; points to alternative ways of collecting the color attributes that are native to SAS Display Manager.&lt;BR /&gt;
ArtC provides the more convenient RTFcolor approach which works for me. &lt;BR /&gt;
Neither approach will support log files created when SAS runs in batch mode which includes SAS Enterprise Guide. &lt;BR /&gt;
 peterC</description>
    <pubDate>Fri, 11 Feb 2011 10:49:18 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2011-02-11T10:49:18Z</dc:date>
    <item>
      <title>Preserving Color Coding in Log Window when saving log to a file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7914#M182</link>
      <description>I am running SAS 9.1.3 Service Pack 4 on WindowsXP Pro platform with Service Pack 3.  I have been saving my logs to a file in a specific folder on my hard drive, for future reference.  However, the color coding is lost once I do this.&lt;BR /&gt;
&lt;BR /&gt;
When I need to save SAS code from the Enhanced Editor window into a Microsoft Word 2007 document, the color coding of the code is preserved when I cut and paste into Word.  Why does this not work for the Log Window color coding?  Is there a way to preserve the color coding, so I can easily see my "ERROR:" and "WARNING:" messages?</description>
      <pubDate>Thu, 10 Feb 2011 22:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7914#M182</guid>
      <dc:creator>chandler</dc:creator>
      <dc:date>2011-02-10T22:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Color Coding in Log Window when saving log to a file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7915#M183</link>
      <description>This is for windows and untested otherwise.&lt;BR /&gt;
&lt;BR /&gt;
On your SAS.EXE line add the -RTFCOLOR initialiazation option.  Then save your log to an RTF file by one of the following three ways 1) use the SAVE AS pull down under FILE (windows DM). 2) write the log file to an RTF using the command WRTFSAVE "c:\temp\mylog.rtf". 3) use a DM statement such as DM 'log; WRTFSAVE "c:\temp\mylog3.rtf"';&lt;BR /&gt;
&lt;BR /&gt;
PROC PRINTTO does not do the trick.  I have not tried the ALTLOG option.&lt;BR /&gt;
Art</description>
      <pubDate>Fri, 11 Feb 2011 03:58:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7915#M183</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2011-02-11T03:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Color Coding in Log Window when saving log to a file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7916#M184</link>
      <description>Last August a similar topic &lt;A href="http://support.sas.com/forums/thread.jspa?messageID=40482鸢" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=40482鸢&lt;/A&gt; points to alternative ways of collecting the color attributes that are native to SAS Display Manager.&lt;BR /&gt;
ArtC provides the more convenient RTFcolor approach which works for me. &lt;BR /&gt;
Neither approach will support log files created when SAS runs in batch mode which includes SAS Enterprise Guide. &lt;BR /&gt;
 peterC</description>
      <pubDate>Fri, 11 Feb 2011 10:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7916#M184</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-02-11T10:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Color Coding in Log Window when saving log to a file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7917#M185</link>
      <description>Do you know where this is documented?  I could not find anything, other than this thread when I search RTFCOLOR at support.sas.com.&lt;BR /&gt;
&lt;BR /&gt;
I did find this on SAS-L&lt;BR /&gt;
&lt;A href="http://www.listserv.uga.edu/cgi-bin/wa?A2=ind9609C&amp;amp;L=sas-l&amp;amp;P=R2522" target="_blank"&gt;http://www.listserv.uga.edu/cgi-bin/wa?A2=ind9609C&amp;amp;L=sas-l&amp;amp;P=R2522&lt;/A&gt;</description>
      <pubDate>Fri, 11 Feb 2011 12:08:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7917#M185</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2011-02-11T12:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Color Coding in Log Window when saving log to a file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7918#M186</link>
      <description>I have only found a french sentence&lt;BR /&gt;
at &lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;A href="http://www.sas.com/offices/europe/france/services/support/faq/sasaf.html#AF14" target="_blank"&gt;http://www.sas.com/offices/europe/france/services/support/faq/sasaf.html#AF14&lt;/A&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
as an AF trick&lt;BR /&gt;
more precise:&lt;BR /&gt;
&lt;BR /&gt;
"In your config.sas, the option -$rtfcolor would permit you to preserve the color of the text when you copy SAS text coming from a sas log or scl window."&lt;BR /&gt;
&lt;BR /&gt;
Andre&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Andre

Message was edited by: Andre</description>
      <pubDate>Fri, 11 Feb 2011 13:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7918#M186</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2011-02-11T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Color Coding in Log Window when saving log to a file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7919#M187</link>
      <description>&lt;B&gt;proc options option= rtfcolor; run;  suggests it doesn't exist &lt;/B&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
proc options option= rtfcolor define value internal; run; provides very little additional info, but does indicate it is an "invocation-only" option. &lt;BR /&gt;
The "internal" is emphasised with the additional NOTE:[pre]NOTE: Internal SAS system options facilitate testing, development and problem diagnosis of SAS.&lt;BR /&gt;
      Internal options are not documented or supported. Customer use of internal options is not&lt;BR /&gt;
      recommended, unless specifically directed by SAS Technical Support.[/pre]indicating no documentation is likely.&lt;BR /&gt;
So, I guess it might be withdrawn at any release. &lt;BR /&gt;
As long as you can run under Display Manager, I don't think it will disappear.&lt;BR /&gt;
peterC</description>
      <pubDate>Fri, 11 Feb 2011 14:33:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/7919#M187</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-02-11T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Color Coding in Log Window when saving log to a file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/226141#M40668</link>
      <description>&lt;P&gt;The URL doesn't seem to be available anymore.&amp;nbsp; Is there an alternate way to get to the old community information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are there a any new solutions with SAS 9.3 and corresponding EB or SAS 9.4?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA,&lt;/P&gt;
&lt;P&gt;Kim LeBouton&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 21:15:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/226141#M40668</guid>
      <dc:creator>KimLeBouton</dc:creator>
      <dc:date>2015-09-17T21:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Color Coding in Log Window when saving log to a file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/367105#M87362</link>
      <description>&lt;P&gt;I wish SAS would make this an option that the user can edit from within the program. I run SAS on a server and cannot make changes to the invocation options or configuration files.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 19:05:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preserving-Color-Coding-in-Log-Window-when-saving-log-to-a-file/m-p/367105#M87362</guid>
      <dc:creator>Linkachu</dc:creator>
      <dc:date>2017-06-14T19:05:24Z</dc:date>
    </item>
  </channel>
</rss>

