<?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: Right arrow character causes problems only when logging with proc printto in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Right-arrow-character-causes-problems-only-when-logging-with/m-p/472484#M121154</link>
    <description>&lt;P&gt;I was able to figure it out by adding the encoding option to the include statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc printto log="C:\temp\test.log" new ;
run ;

%inc "C:\temp\test.sas" /encoding="utf-8" source2 ;

proc printto ;
run ;&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Jun 2018 13:58:05 GMT</pubDate>
    <dc:creator>jerry898969</dc:creator>
    <dc:date>2018-06-22T13:58:05Z</dc:date>
    <item>
      <title>Right arrow character causes problems only when logging with proc printto</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Right-arrow-character-causes-problems-only-when-logging-with/m-p/472461#M121148</link>
      <description>&lt;P&gt;&amp;#26;&amp;#26;&amp;#26;&amp;#26;&amp;#26;&amp;#26;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a program that has a label that is using a small right arrow.&amp;nbsp; When I run the program through sas manually it runs fine with no errors.&amp;nbsp; I check the properties on the table and look for the variable and label shows the small right arrow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run the following code it gets to the the variable with the right arrow and stops.&amp;nbsp; It says that the "DATA STEP running" but nothing is happening.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc printto log="C:\temp\test.log" new ;
run ;

%inc "C:\temp\test.sas" /source2 ;

proc printto ;
run ;&lt;/PRE&gt;
&lt;P&gt;When I cancel submitted statement and go to the log file it is stopped at that variable and the label go to the character right before the right arrow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is why it works if I just run the program, but doesn't when the program is included and proc printto is wrapped around it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it is an encoding issue but I'm not sure how to correct this without having to do it manually and I can't do that because there could be many files to update.&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>Fri, 22 Jun 2018 12:56:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Right-arrow-character-causes-problems-only-when-logging-with/m-p/472461#M121148</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2018-06-22T12:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Right arrow character causes problems only when logging with proc printto</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Right-arrow-character-causes-problems-only-when-logging-with/m-p/472484#M121154</link>
      <description>&lt;P&gt;I was able to figure it out by adding the encoding option to the include statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc printto log="C:\temp\test.log" new ;
run ;

%inc "C:\temp\test.sas" /encoding="utf-8" source2 ;

proc printto ;
run ;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jun 2018 13:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Right-arrow-character-causes-problems-only-when-logging-with/m-p/472484#M121154</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2018-06-22T13:58:05Z</dc:date>
    </item>
  </channel>
</rss>

