<?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 Proc Report - Extra Space in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Extra-Space/m-p/84861#M24271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble in deleting extra 2 spaces in my Proc Report.&lt;/P&gt;&lt;P&gt;First thing I did is to check for duplicates in my category list and I did not find any.&lt;/P&gt;&lt;P&gt;Please help me to figure out the reason behind these spaces after the fourth category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="1649" alt="untitled.bmp" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/1649_untitled.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2012 15:48:49 GMT</pubDate>
    <dc:creator>SAS83</dc:creator>
    <dc:date>2012-04-16T15:48:49Z</dc:date>
    <item>
      <title>Proc Report - Extra Space</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Extra-Space/m-p/84861#M24271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble in deleting extra 2 spaces in my Proc Report.&lt;/P&gt;&lt;P&gt;First thing I did is to check for duplicates in my category list and I did not find any.&lt;/P&gt;&lt;P&gt;Please help me to figure out the reason behind these spaces after the fourth category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="1649" alt="untitled.bmp" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/1649_untitled.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 15:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Extra-Space/m-p/84861#M24271</guid>
      <dc:creator>SAS83</dc:creator>
      <dc:date>2012-04-16T15:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - Extra Space</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Extra-Space/m-p/84862#M24272</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 extra space that you're seeing depends on several factors:&lt;/P&gt;&lt;P&gt;1) your PROC REPORT code -- you do not show your PROC REPORT code -- breaks and "skips" come from COMPUTE blocks and/or BREAK statements. Without seeing your code, it is impossible to "guess" what is happening.&lt;/P&gt;&lt;P&gt;2) your data -- again -- the BREAKS and COMPUTE blocks and possible line statements happen because of your code and your data&lt;/P&gt;&lt;P&gt;3) your destination. -- You say you are using PROC REPORT -- but are you also using ODS? Is this somethign that you are running as a stored process using Web Report Studio or is this something that you are running in Enterprise Guide or in SAS Display Manager??? It is impossible to see, from the tiny screen shot (with all missing values) what your destination of usage is -- SASReport, HTML, RTF, PDF?? Something else????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are unable to post some sample data and your code, then I would suggest that you open a track with Tech Support so they can look at everything and help you find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 16:20:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Extra-Space/m-p/84862#M24272</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-04-16T16:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - Extra Space</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Extra-Space/m-p/84863#M24273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I could not share my code and sample data for you to understand my problem.&lt;/P&gt;&lt;P&gt;Let me explain you what I am doing and how I got rid of this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are my answers to your questions:&lt;/P&gt;&lt;P&gt;2)I have used COMPUTE blocks to skip a row in the report.&lt;/P&gt;&lt;P&gt;3)I have used ODS to get my output in PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Similar SAS dataset is constructed to make standard template&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data test;&lt;/P&gt;&lt;P&gt;infile cards DSD DLM=",";&lt;/P&gt;&lt;P&gt;input Catg $20. Rank Order;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;Blue, 1, 1,&lt;/P&gt;&lt;P&gt;Red,1, 2,&lt;/P&gt;&lt;P&gt;Tiger,2,1&lt;/P&gt;&lt;P&gt;Lion,2,2&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will then LEFT JOIN my real time data with TEST dataset with catg as my Key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the right results with all categories in right format except one category where I see 2 more extra rows inserted. In first look, I though it might be some extra row blank data. But I did not find any duplicate errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next thing I want to test is rearranging the categories.&lt;/P&gt;&lt;P&gt;I did rearrange the categories in my TEST dataset&amp;nbsp; and this issue was resolved. I still dont understand why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data test;&lt;/P&gt;&lt;P&gt;infile cards DSD DLM=",";&lt;/P&gt;&lt;P&gt;input Catg $20. Rank Order;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;Tiger,1,1&lt;/P&gt;&lt;P&gt;Lion,1,2&lt;/P&gt;&lt;P&gt;Blue,2, 1,&lt;/P&gt;&lt;P&gt;Red,2, 2,&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 20:50:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Extra-Space/m-p/84863#M24273</guid>
      <dc:creator>SAS83</dc:creator>
      <dc:date>2012-04-16T20:50:10Z</dc:date>
    </item>
  </channel>
</rss>

