<?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: leading space in format in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/leading-space-in-format/m-p/27953#M4369</link>
    <description>thank you very much Cynthia -- I will try it and let you know how it works for me!</description>
    <pubDate>Wed, 09 Dec 2009 20:58:25 GMT</pubDate>
    <dc:creator>abdullala</dc:creator>
    <dc:date>2009-12-09T20:58:25Z</dc:date>
    <item>
      <title>leading space in format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/leading-space-in-format/m-p/27951#M4367</link>
      <description>I defined the format with leading spaces. they look good when I output those in a dataset. But when I output it on the rtf file the leading spaces are all trimmed. I was using ods rtf and proc report.&lt;BR /&gt;
&lt;BR /&gt;
Anyone knows how to preserve the leading spaces when output on an rtf file with proc report? thanks much!</description>
      <pubDate>Wed, 09 Dec 2009 17:08:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/leading-space-in-format/m-p/27951#M4367</guid>
      <dc:creator>abdullala</dc:creator>
      <dc:date>2009-12-09T17:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: leading space in format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/leading-space-in-format/m-p/27952#M4368</link>
      <description>Hi:&lt;BR /&gt;
  Check out the style attribute ASIS=ON -- it tells PROC REPORT, PROC PRINT or PROC TABULATE and ODS to preserve leading spaces. For example, in a PROC REPORT DEFINE statement you might have:&lt;BR /&gt;
[pre]&lt;BR /&gt;
define &lt;I&gt;varname&lt;/I&gt; / display style(column) = {asis=on cellwidth=1in} ;&lt;BR /&gt;
                             &lt;BR /&gt;
[/pre]&lt;BR /&gt;
                     &lt;BR /&gt;
...if your &lt;I&gt;varname&lt;/I&gt; variable was the one that contained leading spaces. If you wish to apply your format and have leading spaces preserved, then you would need to add the FORMAT= or F= option to your DEFINE statement.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 09 Dec 2009 18:36:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/leading-space-in-format/m-p/27952#M4368</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-12-09T18:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: leading space in format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/leading-space-in-format/m-p/27953#M4369</link>
      <description>thank you very much Cynthia -- I will try it and let you know how it works for me!</description>
      <pubDate>Wed, 09 Dec 2009 20:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/leading-space-in-format/m-p/27953#M4369</guid>
      <dc:creator>abdullala</dc:creator>
      <dc:date>2009-12-09T20:58:25Z</dc:date>
    </item>
  </channel>
</rss>

