<?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: How to print  long length observation in the Proc report character length bigger than 200 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-print-long-length-observation-in-the-Proc-report/m-p/778610#M247862</link>
    <description>&lt;P&gt;You are right, My bad . Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 21:47:32 GMT</pubDate>
    <dc:creator>SASuserlot</dc:creator>
    <dc:date>2021-11-04T21:47:32Z</dc:date>
    <item>
      <title>How to print  long length observation in the Proc report character length bigger than 200</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-print-long-length-observation-in-the-Proc-report/m-p/778602#M247859</link>
      <description>&lt;P&gt;I am trying to print the observation that is character length bigger than 200. I tried the following but it won't print&amp;nbsp; because its cutoff&amp;nbsp; in dataset itself. I want to achieve it using compute block but its not aligning with other columns. For example in the example, name got cutoff when I use it as observation , if I use in compute block its not aligning with sex and age. How can I achieve having full name and align with other columns. I am aware of I can spit the length using escape character to avoid getting into other column. Any help really appreciated. Thanks.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1636059916107.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65419i196B010252974924/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1636059916107.png" alt="SASuserlot_0-1636059916107.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data class ;
length name $200;
set sashelp.class;
x=_n_;
if x=1;
if name= 'Alfred' then name=" this is very long variable length bigger than the 200 character how to print this in the proc report , I am having difficulty to achieve it, Can you please help. I really appreciate your help may be I missing something here  or forgot how to achieve it";
run;


title ' ';
footnote '';
options orientation = landscape errors = 2 missing = ' ' nofmterr ls = 175 validvarname = upcase nofmterr nobyline;

ods escapechar = '^';
ods results on; 
ods listing close; 
ods rtf file = "&amp;amp;tmplocation.\xx.rtf" style = table_rtf; 

proc report data = class ls = 145 ps = 55  split = "?" headline center missing formchar(2) = '_';
	** titles **;

	** report **;
	column  ("^R/RTF'\brdrb\brdrs '" name  sex age);
	define name     / group order = internal style(header) = [just=l] style(column) = [just=l vjust=b cellwidth=35.0% asis=on] "name "                                               ;
	define age    / group order = internal style(header) = [just=l] style(column) = [just=l vjust=b cellwidth= 5.0% asis=on] "age"                                              ;
	define sex    / group order = internal                          style(column) = [just=c vjust=b cellwidth= 8.6% asis=on] "sex"                                      ;

	compute before name;
/*		line @1 'this is very long variable length bigger than the 200 character how to print this in the proc report , I am having difficulty to achieve it, Can you please help. I really appreciate your help may be I missing something here  or forgot how to achieve it';*/
	endcomp;

run;
ods rtf close;
&lt;/PRE&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="SASuserlot_1-1636059974770.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65420iC2BC73B72CE92E74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_1-1636059974770.png" alt="SASuserlot_1-1636059974770.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 21:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-print-long-length-observation-in-the-Proc-report/m-p/778602#M247859</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-11-04T21:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to print  long length observation in the Proc report character length bigger than 200</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-print-long-length-observation-in-the-Proc-report/m-p/778604#M247861</link>
      <description>Isn't the limitation because NAME has a length of 200? If you increase that in your first portion does it work?&lt;BR /&gt;&lt;BR /&gt;length name $200;</description>
      <pubDate>Thu, 04 Nov 2021 21:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-print-long-length-observation-in-the-Proc-report/m-p/778604#M247861</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-04T21:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to print  long length observation in the Proc report character length bigger than 200</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-print-long-length-observation-in-the-Proc-report/m-p/778610#M247862</link>
      <description>&lt;P&gt;You are right, My bad . Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 21:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-print-long-length-observation-in-the-Proc-report/m-p/778610#M247862</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-11-04T21:47:32Z</dc:date>
    </item>
  </channel>
</rss>

