<?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: Address proper alignment and Print for Report Title in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/321042#M17579</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's a full example with the output shown in RTF and PDF.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&lt;IMG title="use_escapechar.png" alt="use_escapechar.png" src="https://communities.sas.com/t5/image/serverpage/image-id/6484iAAA022BDF13495A7/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Dec 2016 15:03:39 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-12-24T15:03:39Z</dc:date>
    <item>
      <title>Address proper alignment and Print for Report Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/320964#M17573</link>
      <description>&lt;P&gt;I am trying to print the address as a main group header of my report from data and want the lines to wrap up properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have different fields for address in data that i have concatenated to get 1 field&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;name, address1, address2,city,state,zip -----&amp;gt;cats(name,address1,city,state,zip) as new_add in my table&lt;/P&gt;
&lt;P&gt;eg: one of new_place data value is ---&amp;gt; Mcdonald's,100 newyork Ave,Queens,NY,56432&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;reports prints it out as 1 line on bygroup header&amp;nbsp; : Mcdonald's,100 newyork Ave,Queens,NY,56432 (i am using byvar(new_add) on title to print on different pages)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i want to be broken and text wrraped as below :&lt;/P&gt;
&lt;P&gt;Mcdonald's&lt;/P&gt;
&lt;P&gt;100 newyork Ave&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Queens NY 56432&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what options in proc report can be used to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here's my code&lt;/P&gt;
&lt;P&gt;TITLE1 bold f= Calibri h=14pt wrap j=c "reportTitle";&lt;BR /&gt;TITLE4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " ";&lt;BR /&gt;TITLE5&amp;nbsp;&amp;nbsp;&amp;nbsp; f= Calibri j=l h=9pt&amp;nbsp;&amp;nbsp;&amp;nbsp; "#byval(new_add)";&lt;BR /&gt;&lt;BR /&gt;proc report nofs&amp;nbsp; data = rep nowd spanrows split='~' headline missing &lt;BR /&gt;&lt;BR /&gt;by new_add&amp;nbsp; ;&lt;BR /&gt;column&amp;nbsp;new_add&amp;nbsp; var1 var2 var3;&lt;BR /&gt;&lt;BR /&gt;;&lt;BR /&gt;define&amp;nbsp; new_add /group noprint '' format=$place. left style = {cellwidth=70mm&amp;nbsp; rules=none };&lt;/P&gt;
&lt;P&gt;define var1/group &amp;nbsp; left style = {cellwidth=70mm&amp;nbsp; rules=none };&lt;/P&gt;
&lt;P&gt;define var2/group &amp;nbsp; left style = {cellwidth=70mm&amp;nbsp; rules=none };&lt;/P&gt;
&lt;P&gt;define var3/group &amp;nbsp; left style = {cellwidth=70mm&amp;nbsp; rules=none };&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;break after&amp;nbsp; new_add&amp;nbsp;/ skip dul;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 16:29:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/320964#M17573</guid>
      <dc:creator>Arora_S</dc:creator>
      <dc:date>2016-12-23T16:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Address proper alignment and Print for Report Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/320967#M17574</link>
      <description>&lt;P&gt;I would suggest that when you concatenate the fields together to make your new_add variable to insert either a carriage return,&amp;nbsp;linefeed or newline&amp;nbsp;character to force breaks. Which to use may depend on ODS destination.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 17:03:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/320967#M17574</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-23T17:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Address proper alignment and Print for Report Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/321019#M17577</link>
      <description>&lt;PRE&gt;

How about this:


data class;
 set sashelp.class;
 group=catx('~n',sex,age);
run;
proc sort data=class ;by group;run;
options nobyline;
ods escapechar='~';
title '#byval1';
proc report data=class nowd;
by group;
column Name	Sex	Age	Height	Weight	;
run;

&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 Dec 2016 04:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/321019#M17577</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-12-24T04:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Address proper alignment and Print for Report Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/321042#M17579</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's a full example with the output shown in RTF and PDF.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&lt;IMG title="use_escapechar.png" alt="use_escapechar.png" src="https://communities.sas.com/t5/image/serverpage/image-id/6484iAAA022BDF13495A7/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2016 15:03:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/321042#M17579</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-12-24T15:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Address proper alignment and Print for Report Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/321111#M17589</link>
      <description>&lt;P&gt;This works too..but the later one is more explanatory.&lt;/P&gt;
&lt;P&gt;Thanks to everybody.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2016 22:37:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Address-proper-alignment-and-Print-for-Report-Title/m-p/321111#M17589</guid>
      <dc:creator>Arora_S</dc:creator>
      <dc:date>2016-12-25T22:37:48Z</dc:date>
    </item>
  </channel>
</rss>

