<?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-how to display &amp;quot;No Data&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709752#M218336</link>
    <description>my code is quite long and complicated because it is for table programming:&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Jan 2021 22:26:37 GMT</pubDate>
    <dc:creator>HitmonTran</dc:creator>
    <dc:date>2021-01-06T22:26:37Z</dc:date>
    <item>
      <title>Proc report-how to display "No Data"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709742#M218327</link>
      <description>&lt;P&gt;I have an rtf output with no current data based on the subset.&amp;nbsp; How do I print text "No Data" in the output along with the table shell in proc report?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;current output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53265iCC57F950FC5B8996/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;want:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53264i911B52FF174BB513/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 21:43:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709742#M218327</guid>
      <dc:creator>HitmonTran</dc:creator>
      <dc:date>2021-01-06T21:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report-how to display "No Data"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709751#M218335</link>
      <description>&lt;P&gt;What is the code you are currently using to generate the report?&lt;/P&gt;
&lt;P&gt;It would sure be nice to have at least ONE variable name to test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 22:13:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709751#M218335</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-06T22:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report-how to display "No Data"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709752#M218336</link>
      <description>my code is quite long and complicated because it is for table programming:&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2021 22:26:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709752#M218336</guid>
      <dc:creator>HitmonTran</dc:creator>
      <dc:date>2021-01-06T22:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report-how to display "No Data"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709759#M218338</link>
      <description>&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;my code is quite long and complicated because it is for table programming:&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I hoped my request would be consider for the Proc Report bit.&lt;/P&gt;
&lt;P&gt;You are asking how to add something to Proc Report output and it helps to have some structure to hang things on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 22:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709759#M218338</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-06T22:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report-how to display "No Data"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709772#M218340</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data = final1 nowd headline headskip missing split='@' style(header column)=[protectspecialchars=off];


 %if &amp;amp;blind=Y %then %do;
	  columns ordx1 aebodsys subordx1 aedecod  desc   ("1.0 mg@ @(N=&amp;amp;trtgn1)" TRTxG1 TRTG1 )("1.0 mg@Placebo@(N=&amp;amp;trtgn2)"  TRTxG2  TRTG2) ("1.0 mg  –@Placebo" rd1) ;
	  define ordx1     / descending order     order=internal noprint;
	  define aebodsys  / order order=internal noprint;
	  define subordx1  / descending order  order=internal noprint;
	  define aedecod   / order order=internal noprint;

	  define desc    	  	/display   style(header)=[just=left]    style(column)=[asis=on cellwidth=1.7 in ] flow " "; 
		/*%do k=1 %to &amp;amp;totgrps;
		  %let lbl=;
		  %let lbl=%scan(&amp;amp;collist,&amp;amp;k,'~');
	      define %scan(&amp;amp;alltrt,&amp;amp;k) / display "&amp;amp;lbl.|(N=&amp;amp;&amp;amp;trtgn&amp;amp;k)" 
	                   style(column)={asis=on just=center cellwidth=1in} flow style(header)={just=center font_size=9pt};
		 
	    %end;*/
		 
	  define TRTxG1 			/display   style(header)=[just=center]    style(column) = [just=center cellwidth=.7 in] "E";
	   	define TRTG1 			/display   style(header)=[just=center]    style(column) = [just=center cellwidth=.7 in] "P (%)";

	  define rd1 			/display   style(header)=[just=center]    style(column) = [just=center cellwidth=.7 in] "RD";

	  define TRTxG2 			/display   style(header)=[just=center]    style(column) = [just=center cellwidth=.7 in] "E";
	   	define TRTG2 			/display   style(header)=[just=center]    style(column) = [just=center cellwidth=.7 in] "P (%)";


	  compute before aebodsys;
		 line  "";
	  endcomp;
  %end;

run;
  
ods rtf close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 23:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-display-quot-No-Data-quot/m-p/709772#M218340</guid>
      <dc:creator>HitmonTran</dc:creator>
      <dc:date>2021-01-06T23:46:38Z</dc:date>
    </item>
  </channel>
</rss>

