<?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: Creating a space or gap  between certain columns in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82330#M8997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt; Here's the thing...it depends on the destination. If you were using the LISTING destination, then the SPACING= option on the DEFINE statement in PROC REPORT would give more spacing between columns. In other destinations, you have to do other methods. Most notable would be CELLWIDTH= or WIDTH= to make a column wider, in destinations that support style overrides. What is your destination of interest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2012 00:14:41 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-04-13T00:14:41Z</dc:date>
    <item>
      <title>Creating a space or gap  between certain columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82329#M8996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all-&lt;/P&gt;&lt;P&gt;How do I go about creating a small gap between certain columns,&lt;/P&gt;&lt;P&gt;So that for example when I have a columns&lt;/P&gt;&lt;P&gt;('Process A' a1 a2 a3) ('Process B" B1 B2 B3) I can insert a small white gap in between?&lt;/P&gt;&lt;P&gt;I saw an exampe by Art Carpenter online but have not been able to find it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 21:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82329#M8996</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2012-04-12T21:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a space or gap  between certain columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82330#M8997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt; Here's the thing...it depends on the destination. If you were using the LISTING destination, then the SPACING= option on the DEFINE statement in PROC REPORT would give more spacing between columns. In other destinations, you have to do other methods. Most notable would be CELLWIDTH= or WIDTH= to make a column wider, in destinations that support style overrides. What is your destination of interest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 00:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82330#M8997</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-04-13T00:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a space or gap  between certain columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82331#M8998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia-&lt;/P&gt;&lt;P&gt;It's going to a PDF. I'll try it in the DEFINE statement in the interim.&lt;/P&gt;&lt;P&gt;Lawrence &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 13:50:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82331#M8998</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2012-04-13T13:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a space or gap  between certain columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82332#M8999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia;&lt;/P&gt;&lt;P&gt;Spacing does not seem to work.&lt;/P&gt;&lt;P&gt;Also be aware that this is building on a prior thread with the fake spanners that you helped with with before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So playing with it, I created another fake column-with blank values called emp in the dataset-And then in the PROC REPORT:&lt;/P&gt;&lt;P&gt;columns statement include:&lt;/P&gt;&lt;P&gt;emp,_emp&lt;/P&gt;&lt;P&gt;where in the DEFINE statement-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;DEFINE EMP/ &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;ACROSS&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; background: white; color: purple; font-family: 'Courier New';"&gt;' '&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;width&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10pt; font-family: 'Courier New';"&gt;7&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt; style(header)={background=white};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;DEFINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt; _EMP/ &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: purple; font-family: 'Courier New';"&gt;' '&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;width&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10pt; font-family: 'Courier New';"&gt;7&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt; style(header)={background=white} style(column)={background=white &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: 'Courier New';"&gt;color&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;=white};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;It mostly works except that the header color won't render correctly for EMP.. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;Thanks again. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: 'Courier New';"&gt;Lawrence &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 14:44:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82332#M8999</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2012-04-13T14:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a space or gap  between certain columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82333#M9000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; The trouble is that PROC REPORT for the LISTING destination ONLY has SPACING= and WIDTH=. Those options WILL not work in non-LISTING destinations. So your simple WIDTH= will not work. For HTML, RTF, PDF, etc, you would have to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define myvar / 'My header'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={cellwidth=1in };&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define myvar / 'My header'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={width=1in};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But your CELLWIDTH or WIDTH style attribute must be specified within the STYLE override - not just out on the DEFINE statement, as you show. BTW, you can't have 2 DEFINE statements for EMP -- only 1 allowed. The last one will "win", which, I suspect, is not what you want. You may find that if you use CELLWIDTH/WIDTH, you may not need your "fake" spacer column, so the header color issue won't be an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are running SAS 9.1.3, you will need to use the CELLWIDTH attribute in your style override. If you are using 9.2 or higher, then either CELLWIDTH or WIDTH will work. I tend to use CELLWIDTH, because then I don't get myself confused with the "old" WIDTH= option that only works in LISTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 16:51:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82333#M9000</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-04-13T16:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a space or gap  between certain columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82334#M9001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia-&lt;/P&gt;&lt;P&gt;This helps immensely although with the "fake headers"-it simply works on one level only and not the other. So I may have to create a fake column after all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for all your hard work.&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 20:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-a-space-or-gap-between-certain-columns/m-p/82334#M9001</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2012-04-13T20:58:16Z</dc:date>
    </item>
  </channel>
</rss>

