<?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: Proc report does not work when the output file type is excel and it has special characters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914563#M360389</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post the sas code you ran as well?&lt;/P&gt;
&lt;P&gt;Depending on assigned formats values may get displayed differently.&amp;nbsp; For example,&amp;nbsp;&lt;SPAN&gt;&amp;lt;0.0001 seems like a p-value.&amp;nbsp; If so, then specifying pvalue6.4 format in define statement should resolve the issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;define varname/........format=pvalue6.4; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 19:35:57 GMT</pubDate>
    <dc:creator>A_Kh</dc:creator>
    <dc:date>2024-02-05T19:35:57Z</dc:date>
    <item>
      <title>Proc report does not work when the output file type is excel and it has special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914561#M360388</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I ran proc report and apparently it does not like when a value for character value has the symbol "&amp;lt;". The value is &amp;lt;0.0001.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 19:18:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914561#M360388</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2024-02-05T19:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report does not work when the output file type is excel and it has special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914563#M360389</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post the sas code you ran as well?&lt;/P&gt;
&lt;P&gt;Depending on assigned formats values may get displayed differently.&amp;nbsp; For example,&amp;nbsp;&lt;SPAN&gt;&amp;lt;0.0001 seems like a p-value.&amp;nbsp; If so, then specifying pvalue6.4 format in define statement should resolve the issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;define varname/........format=pvalue6.4; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 19:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914563#M360389</guid>
      <dc:creator>A_Kh</dc:creator>
      <dc:date>2024-02-05T19:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report does not work when the output file type is excel and it has special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914703#M360443</link>
      <description>&lt;P&gt;Thanks for responding. I realized that I just had to change off to on in protectspecialchars=on. This solved the problem!&lt;/P&gt;&lt;P&gt;The code for proc report is&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc report data = dsout nowd missing split = '~' spacing=2 style(column)=[protectspecialchars=on asis=on];
column var estimate pvalue;
define ....;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Feb 2024 15:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914703#M360443</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2024-02-06T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report does not work when the output file type is excel and it has special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914710#M360445</link>
      <description>Please mark the question as resolved and select the solution you posted regarding protectspecialchars option.</description>
      <pubDate>Tue, 06 Feb 2024 15:39:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914710#M360445</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-02-06T15:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report does not work when the output file type is excel and it has special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914725#M360453</link>
      <description>&lt;P&gt;ok&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 16:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-does-not-work-when-the-output-file-type-is-excel-and/m-p/914725#M360453</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2024-02-06T16:37:54Z</dc:date>
    </item>
  </channel>
</rss>

