<?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: Positioning issue with Proc Report in ODS Layout in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323805#M17708</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I also see issues here -- not major, but conflicting cellpadding:&lt;/P&gt;
&lt;P&gt;proc report data=pcts &lt;STRONG&gt;style(report)={cellpadding=0pt}&lt;/STRONG&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={height=.32in} &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;style(report)={borderwidth=0 cellpadding=1pct}&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which one do you want. And then I see another issue with your style(column) -- have you multiplied out .32 * number of rows -- it might be enough space, but whether it is enough depends on the font size and cellpadding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Just some additional thoughts. Not in a place where I am able to run code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2017 22:50:09 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-01-10T22:50:09Z</dc:date>
    <item>
      <title>Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323495#M17702</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to generate a 3 line entry in a Proc Report table going to a narrow table that is a bit constrained.&amp;nbsp; It will fit. But something is providing too large a top and bottom margin in the cell for it to display all 3 lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test program &amp;amp; sample pdf attached.&amp;nbsp; What am I missing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 01:05:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323495#M17702</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2017-01-10T01:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323612#M17703</link>
      <description>Hi:&lt;BR /&gt;   Was there code? I only see a PDF with your table. But no code.&lt;BR /&gt;&lt;BR /&gt;  Did you ask Tech Support already?&lt;BR /&gt; cynthia</description>
      <pubDate>Tue, 10 Jan 2017 13:42:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323612#M17703</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-10T13:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323621#M17704</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's odd.&amp;nbsp;Thought I had attached it.&amp;nbsp; Obviously not. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hadn't asked TS yet on this one.&amp;nbsp; Was hoping it was something obvious I have missed.I seem to be having&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I seem to be having problems attaching a file ending in .sas so I added it below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let path=c:\temp\;&lt;/P&gt;
&lt;P&gt;%let Tan&amp;nbsp;&amp;nbsp;&amp;nbsp; = CXE59005;&lt;BR /&gt;%let Tan2&amp;nbsp;&amp;nbsp; = CXFAA72E;&lt;BR /&gt;%let Tan3&amp;nbsp;&amp;nbsp; = CXFCBE64;&lt;BR /&gt;%let Tan4&amp;nbsp;&amp;nbsp; = CXFCD49A;&lt;BR /&gt;%let Tan5&amp;nbsp;&amp;nbsp; = CXFDE6C3;&lt;BR /&gt;%let Blue&amp;nbsp;&amp;nbsp; = CX2B6BB0;&lt;/P&gt;
&lt;P&gt;title;&lt;BR /&gt;* Generate fake data for testing;&lt;BR /&gt;data pcts;&lt;BR /&gt;input repid pct zip;&lt;BR /&gt;topzip+1;&lt;BR /&gt;if lag(repid)^=repid then topzip=1;&lt;BR /&gt;cards;&lt;BR /&gt;1 53 43058&lt;BR /&gt;1 17 43220&lt;BR /&gt;1 12 43235&lt;BR /&gt;1 7&amp;nbsp; 43081&lt;BR /&gt;1 4&amp;nbsp; 43214&lt;BR /&gt;;;;&lt;/P&gt;
&lt;P&gt;ods escapechar='^';&lt;/P&gt;
&lt;P&gt;options nodate nonumber nobyline orientation=landscape topmargin=.001in bottommargin=.001in leftmargin=.001in rightmargin=.001in;&lt;BR /&gt;ods html close ;&lt;/P&gt;
&lt;P&gt;ods pdf file="&amp;amp;path.ziptablerpt.pdf" notoc;&lt;/P&gt;
&lt;P&gt;ods layout absolute y=0in x=0in&amp;nbsp; width=10.98in height=8.48in;&amp;nbsp; * Define an absolute layout container with optional size parms;&lt;/P&gt;
&lt;P&gt;ods region y=5in x=.5in width=1.5in height=2.75in style={background=cyan};&lt;/P&gt;
&lt;P&gt;proc report data=pcts style(report)={cellpadding=0pt} style(column)={height=.32in} style(report)={borderwidth=0 cellpadding=1pct};&lt;BR /&gt;&amp;nbsp;&amp;nbsp; by repid;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; column topzip square pct zip boilerplate;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; define topzip /display order noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define pct&amp;nbsp;&amp;nbsp;&amp;nbsp; /display noprint;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define zip&amp;nbsp;&amp;nbsp;&amp;nbsp; /display noprint;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; define square /display computed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "«" right&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(header)={font_size=16pt fontfamily='&amp;lt;ttf&amp;gt; Wingdings' vjust=m color=blue}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={font_size=16pt width=.3in vjust=m just=c fontfamily='&amp;lt;ttf&amp;gt; Monotype Sorts'};&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define boilerplate /display computed&amp;nbsp; 'You are located here' left&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(header)={font_size=7pt }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={font_size=7.5pt width=1.1in vjust=t background=grey};&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; compute square /character length=10;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; square='n';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if topzip=1 then call define('square','style',"style={color=&amp;amp;red}");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if topzip=2 then call define('square','style',"style={color=&amp;amp;red2}");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if topzip=3 then call define('square','style',"style={color=&amp;amp;red3}");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if topzip=4 then call define('square','style',"style={color=&amp;amp;red4}");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if topzip=5 then call define('square','style',"style={color=&amp;amp;red5}");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; endcomp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; compute boilerplate/character length=120;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; boilerplate=cats(pct)||'% of your Regional^{newline 1}/Customers reside in ^S={color=blue}'||left(zip);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; endcomp;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods layout end;&lt;BR /&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323621#M17704</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2017-01-10T14:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323801#M17707</link>
      <description>Hmmm. what's the difference between the &amp;amp;tan colors and the &amp;amp;red colors? Is there a disconnect in your code?&lt;BR /&gt;cynthia</description>
      <pubDate>Tue, 10 Jan 2017 22:35:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323801#M17707</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-10T22:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323805#M17708</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I also see issues here -- not major, but conflicting cellpadding:&lt;/P&gt;
&lt;P&gt;proc report data=pcts &lt;STRONG&gt;style(report)={cellpadding=0pt}&lt;/STRONG&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={height=.32in} &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;style(report)={borderwidth=0 cellpadding=1pct}&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which one do you want. And then I see another issue with your style(column) -- have you multiplied out .32 * number of rows -- it might be enough space, but whether it is enough depends on the font size and cellpadding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Just some additional thoughts. Not in a place where I am able to run code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 22:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323805#M17708</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-10T22:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323843#M17710</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think it is your HEIGHT values that need to be adjusted. Through fiddling I eventually got to this.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6661i95204A0860411D39/image-size/original?v=v2&amp;amp;px=-1" alt="ods_layout_size.png" title="ods_layout_size.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 02:16:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323843#M17710</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-11T02:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323950#M17712</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for looking at it.&amp;nbsp; Yes, I can solve the issue by making the cells higher but it is fitting into a fixed section of a report and that's all the room it has.&amp;nbsp; Making it taller will run into other stuff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the space at the top of each cell in gray?&amp;nbsp; How do I get rid of that?&amp;nbsp; If that were eliminated it likely would all fit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Much appreciated...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 15:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323950#M17712</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2017-01-11T15:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323966#M17714</link>
      <description>Hi:&lt;BR /&gt;  I think you'll have to go to Tech Support. The only way I made it fit was by fudging the sizes. If you look a the whole row, however, you are telling PROC REPORT that the cell for the SQUARE variable is 16pt -- that is twice the size of the cell for your BOILERPLATE variable. But, maybe you're "over controlling" the height. What happens if you leave your original region height of 2.75in, but take the HEIGHT= out of the style override completely? Right now, you have the interaction of both heights, plus font sizes conflicting. I'd recommend taking HEIGHT= out of the STYLE(COLUMN) first.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 11 Jan 2017 15:38:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323966#M17714</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-11T15:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning issue with Proc Report in ODS Layout</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323981#M17715</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That did it!&amp;nbsp; I was even able to increase the font size a hair for readability and it still all came out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 16:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Positioning-issue-with-Proc-Report-in-ODS-Layout/m-p/323981#M17715</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2017-01-11T16:02:51Z</dc:date>
    </item>
  </channel>
</rss>

