<?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 gap in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-gap/m-p/426970#M105254</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know if it's possible to seal the gap (highlighted below) in PROC REPORT (non ODS)? BC the first column is using "flow" option it is creating a space for all columns, thank you all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="proc report.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17800iE102CCBD2D6D3AB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="proc report.PNG" alt="proc report.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data tr;
  merge adsl 
        adtr;
   by subjid;
   subject= trim(siteid)||'/'||trim(subjid)||'/~'||strip(age)||'/'||trim(sex)||'/'||trim(race)||'/~'||trim(TRT01a);
run;


proc report data=tr missing headskip headline  split='~' nowindows missing spacing=1; 
    column  subject  trtsdt visit adt ady  _base  _aval  _chg pchg;

   define subject     / width=31 "Site/Subject ID/~Age/Sex/Race/~Study Treatment"  order order=data flow left;
   define visit       / width=20 "Visit"             	    	                    center;
   define adt         / width=11 "Study Date"             			    center;
   define trtsdt      / width=10 "First~Dose~Date"                 order order=data center;
   define trtedt      / width=9  "Date of Last Treatment Exposure"                  center;
   define tr01sdt     / width=9  "Date of First Exposure in Period 01"              center;
   define tr01edt     / width=9  "Date of Last Exposure in Period 01"               center;
   define _base       / width=11 "Baseline~Lesion~Measurement"     order order=data center;
   define basecount   / width=4  "Base~Count"             		            center;
   define _aval       / width=12 "On Treatment~Lesion~Measurement"                  center;
   define lesnumber   / width=8  "Lesion #"              			    center;
   define ady         / width=5  "Study Day"           				    center;
   define ablfl       / width=5  "ablfl"              				    center;
   define _chg        / width=8  "Change"              				    center;
   define pchg        / width=8  "% Change"             			    center;

   break after subject/ skip;
 run;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 19:28:07 GMT</pubDate>
    <dc:creator>HitmonTran</dc:creator>
    <dc:date>2018-01-11T19:28:07Z</dc:date>
    <item>
      <title>PROC REPORT gap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-gap/m-p/426970#M105254</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know if it's possible to seal the gap (highlighted below) in PROC REPORT (non ODS)? BC the first column is using "flow" option it is creating a space for all columns, thank you all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="proc report.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17800iE102CCBD2D6D3AB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="proc report.PNG" alt="proc report.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data tr;
  merge adsl 
        adtr;
   by subjid;
   subject= trim(siteid)||'/'||trim(subjid)||'/~'||strip(age)||'/'||trim(sex)||'/'||trim(race)||'/~'||trim(TRT01a);
run;


proc report data=tr missing headskip headline  split='~' nowindows missing spacing=1; 
    column  subject  trtsdt visit adt ady  _base  _aval  _chg pchg;

   define subject     / width=31 "Site/Subject ID/~Age/Sex/Race/~Study Treatment"  order order=data flow left;
   define visit       / width=20 "Visit"             	    	                    center;
   define adt         / width=11 "Study Date"             			    center;
   define trtsdt      / width=10 "First~Dose~Date"                 order order=data center;
   define trtedt      / width=9  "Date of Last Treatment Exposure"                  center;
   define tr01sdt     / width=9  "Date of First Exposure in Period 01"              center;
   define tr01edt     / width=9  "Date of Last Exposure in Period 01"               center;
   define _base       / width=11 "Baseline~Lesion~Measurement"     order order=data center;
   define basecount   / width=4  "Base~Count"             		            center;
   define _aval       / width=12 "On Treatment~Lesion~Measurement"                  center;
   define lesnumber   / width=8  "Lesion #"              			    center;
   define ady         / width=5  "Study Day"           				    center;
   define ablfl       / width=5  "ablfl"              				    center;
   define _chg        / width=8  "Change"              				    center;
   define pchg        / width=8  "% Change"             			    center;

   break after subject/ skip;
 run;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 19:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-gap/m-p/426970#M105254</guid>
      <dc:creator>HitmonTran</dc:creator>
      <dc:date>2018-01-11T19:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT gap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-gap/m-p/427047#M105268</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you are requesting several rows in the right-hand columns go across one single row in the first column.&lt;BR /&gt;Proc tabulate is more suited to this exercise.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 22:28:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-gap/m-p/427047#M105268</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-01-11T22:28:21Z</dc:date>
    </item>
  </channel>
</rss>

