<?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: Proc Report- Column values is losing its indentation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Column-values-is-losing-its-indentation/m-p/796646#M255664</link>
    <description>&lt;P&gt;If you are displaying text with leading spaces, not at all clear as NO DATA provided (pictures really don't count as can't program with pictures), try adding the style override of ASIS=on. You already have that for other variables, so I'm not sure why you don't for Param2. The ASIS=on maintains things like leading spaces in the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/111564"&gt;@HitmonTran&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a variable&amp;nbsp;param2 that have values of:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;data:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HitmonTran_0-1645031891480.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68547i1810D5C76BE09C04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HitmonTran_0-1645031891480.png" alt="HitmonTran_0-1645031891480.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see there are indentations but when I output it in my pdf,&amp;nbsp; &amp;nbsp;the indentation of "N, Median, Min-Max, etc." is lost.&amp;nbsp; Any idea on how to preserve the indenation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;output&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HitmonTran_1-1645032048216.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68548i524E313B547052D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HitmonTran_1-1645032048216.png" alt="HitmonTran_1-1645032048216.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;  ods results off;
ods listing close;
;

options formchar="|----|+|---+=|-/\&amp;lt;&amp;gt;*" ls=70 ps=70 missing = " " nodate nonumber center;

  options orientation=landscape;
   
  ods rtf file = "&amp;amp;analpath\Output\&amp;amp;pgmout._&amp;amp;outp._Blind.rtf" style= TLF_CN_9;
    ods pdf file = "&amp;amp;analpath\Output\&amp;amp;pgmout._&amp;amp;outp._Blind.pdf" style= TLF_CN_9;
  
 
  proc report data=final nowindows center headline headskip missing split='|' spanrows;
	column  avisitn  order2 param2 trtg1 trtg2 trtg3 trtg4;
	    define avisitn   / order noprint;
	    define order2    / order noprint;
	    define param2 	 / order "Interferon-~{unicode gamma} ELISpot Spot-Forming Units (SFUs)" style(column)={just=left cellwidth=5.6in} flow style(header)={just=left font_size=9pt};
	    define trtg1     / display "1.0 " style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg2     / display "1" style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg3     / display "2.0" style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg4     / display "2" style(column)={asis=on just=center cellwidth=1.2in} flow style(header)={just=center font_size=9pt};


    break after param2/ skip;
	
    compute after param2 / style(lines)={font_size = 3pt};
/*      line " "; */
    endcomp;

  run;
ods _all_ close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 17:37:24 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-02-16T17:37:24Z</dc:date>
    <item>
      <title>Proc Report- Column values is losing its indentation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Column-values-is-losing-its-indentation/m-p/796640#M255660</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a variable&amp;nbsp;param2 that have values of:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HitmonTran_0-1645031891480.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68547i1810D5C76BE09C04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HitmonTran_0-1645031891480.png" alt="HitmonTran_0-1645031891480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see there are indentations but when I output it in my pdf,&amp;nbsp; &amp;nbsp;the indentation of "N, Median, Min-Max, etc." is lost.&amp;nbsp; Any idea on how to preserve the indenation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;output&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HitmonTran_1-1645032048216.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68548i524E313B547052D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HitmonTran_1-1645032048216.png" alt="HitmonTran_1-1645032048216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;code:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;  ods results off;
ods listing close;
;

options formchar="|----|+|---+=|-/\&amp;lt;&amp;gt;*" ls=70 ps=70 missing = " " nodate nonumber center;

  options orientation=landscape;
   
  ods rtf file = "&amp;amp;analpath\Output\&amp;amp;pgmout._&amp;amp;outp._Blind.rtf" style= TLF_CN_9;
    ods pdf file = "&amp;amp;analpath\Output\&amp;amp;pgmout._&amp;amp;outp._Blind.pdf" style= TLF_CN_9;
  
 
  proc report data=final nowindows center headline headskip missing split='|' spanrows;
	column  avisitn  order2 param2 trtg1 trtg2 trtg3 trtg4;
	    define avisitn   / order noprint;
	    define order2    / order noprint;
	    define param2 	 / order "Interferon-~{unicode gamma} ELISpot Spot-Forming Units (SFUs)" style(column)={just=left cellwidth=5.6in} flow style(header)={just=left font_size=9pt};
	    define trtg1     / display "1.0 " style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg2     / display "1" style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg3     / display "2.0" style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg4     / display "2" style(column)={asis=on just=center cellwidth=1.2in} flow style(header)={just=center font_size=9pt};


    break after param2/ skip;
	
    compute after param2 / style(lines)={font_size = 3pt};
/*      line " "; */
    endcomp;

  run;
ods _all_ close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Feb 2022 17:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Column-values-is-losing-its-indentation/m-p/796640#M255660</guid>
      <dc:creator>HitmonTran</dc:creator>
      <dc:date>2022-02-16T17:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report- Column values is losing its indentation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Column-values-is-losing-its-indentation/m-p/796646#M255664</link>
      <description>&lt;P&gt;If you are displaying text with leading spaces, not at all clear as NO DATA provided (pictures really don't count as can't program with pictures), try adding the style override of ASIS=on. You already have that for other variables, so I'm not sure why you don't for Param2. The ASIS=on maintains things like leading spaces in the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/111564"&gt;@HitmonTran&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a variable&amp;nbsp;param2 that have values of:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;data:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HitmonTran_0-1645031891480.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68547i1810D5C76BE09C04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HitmonTran_0-1645031891480.png" alt="HitmonTran_0-1645031891480.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see there are indentations but when I output it in my pdf,&amp;nbsp; &amp;nbsp;the indentation of "N, Median, Min-Max, etc." is lost.&amp;nbsp; Any idea on how to preserve the indenation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;output&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HitmonTran_1-1645032048216.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68548i524E313B547052D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HitmonTran_1-1645032048216.png" alt="HitmonTran_1-1645032048216.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;  ods results off;
ods listing close;
;

options formchar="|----|+|---+=|-/\&amp;lt;&amp;gt;*" ls=70 ps=70 missing = " " nodate nonumber center;

  options orientation=landscape;
   
  ods rtf file = "&amp;amp;analpath\Output\&amp;amp;pgmout._&amp;amp;outp._Blind.rtf" style= TLF_CN_9;
    ods pdf file = "&amp;amp;analpath\Output\&amp;amp;pgmout._&amp;amp;outp._Blind.pdf" style= TLF_CN_9;
  
 
  proc report data=final nowindows center headline headskip missing split='|' spanrows;
	column  avisitn  order2 param2 trtg1 trtg2 trtg3 trtg4;
	    define avisitn   / order noprint;
	    define order2    / order noprint;
	    define param2 	 / order "Interferon-~{unicode gamma} ELISpot Spot-Forming Units (SFUs)" style(column)={just=left cellwidth=5.6in} flow style(header)={just=left font_size=9pt};
	    define trtg1     / display "1.0 " style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg2     / display "1" style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg3     / display "2.0" style(column)={asis=on just=center cellwidth=1.2 in} flow style(header)={just=center font_size=9pt};
	    define trtg4     / display "2" style(column)={asis=on just=center cellwidth=1.2in} flow style(header)={just=center font_size=9pt};


    break after param2/ skip;
	
    compute after param2 / style(lines)={font_size = 3pt};
/*      line " "; */
    endcomp;

  run;
ods _all_ close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 17:37:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Column-values-is-losing-its-indentation/m-p/796646#M255664</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-02-16T17:37:24Z</dc:date>
    </item>
  </channel>
</rss>

