<?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 Highlighting user-defined words in the log in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Highlighting-user-defined-words-in-the-log/m-p/360992#M23724</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if there is an opportunity to highlight user-defined words in the log.&lt;BR /&gt;For example, I run a macro with a lot of iterations. At the end of each iteration, the duration of this iteration is recorded in the log.&lt;BR /&gt;It would be nice to easily find lines with duration.&lt;BR /&gt;Only two options come to mind:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create a temporary file, where the line with the iteration number and duration will be added;&lt;BR /&gt;2. Highlight "duration" in the log by adding before and after some characters. Like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%put&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;===================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;DURATION&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;===================;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would like to be able to highlight by the color&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2017 02:15:07 GMT</pubDate>
    <dc:creator>kanivan51</dc:creator>
    <dc:date>2017-05-24T02:15:07Z</dc:date>
    <item>
      <title>Highlighting user-defined words in the log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Highlighting-user-defined-words-in-the-log/m-p/360992#M23724</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if there is an opportunity to highlight user-defined words in the log.&lt;BR /&gt;For example, I run a macro with a lot of iterations. At the end of each iteration, the duration of this iteration is recorded in the log.&lt;BR /&gt;It would be nice to easily find lines with duration.&lt;BR /&gt;Only two options come to mind:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create a temporary file, where the line with the iteration number and duration will be added;&lt;BR /&gt;2. Highlight "duration" in the log by adding before and after some characters. Like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%put&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;===================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;DURATION&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;===================;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would like to be able to highlight by the color&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 02:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Highlighting-user-defined-words-in-the-log/m-p/360992#M23724</guid>
      <dc:creator>kanivan51</dc:creator>
      <dc:date>2017-05-24T02:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting user-defined words in the log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Highlighting-user-defined-words-in-the-log/m-p/360996#M23725</link>
      <description>&lt;P&gt;1. Consider using NONOTES option to not have notes printed to the LOG. Errors will be still displayed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Consider using NOTE/ERROR in log that will colour the text. I don't think there's a way you can sort it automatically, but it should catch your eye a bit easier.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Consider writing the duration to a separate file - either a text or dataset that can be customized to your desires.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let duration=20;
%put WARNING: Duration = &amp;amp;duration;
%put ERROR- Duration = &amp;amp;duration;
%put ERROR: Duration = &amp;amp;duration;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 02:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Highlighting-user-defined-words-in-the-log/m-p/360996#M23725</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-24T02:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting user-defined words in the log</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Highlighting-user-defined-words-in-the-log/m-p/360997#M23726</link>
      <description>Just what I need. Thank you!</description>
      <pubDate>Wed, 24 May 2017 02:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Highlighting-user-defined-words-in-the-log/m-p/360997#M23726</guid>
      <dc:creator>kanivan51</dc:creator>
      <dc:date>2017-05-24T02:34:16Z</dc:date>
    </item>
  </channel>
</rss>

