<?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: split data (not header) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-report-split-data-not-header/m-p/37093#M9404</link>
    <description>Dear Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
thanx a lot. I wouldn't have found it without the hint to escapechar. It's amazing how much you can do with it!&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Eva</description>
    <pubDate>Mon, 22 Nov 2010 12:02:34 GMT</pubDate>
    <dc:creator>Eva</dc:creator>
    <dc:date>2010-11-22T12:02:34Z</dc:date>
    <item>
      <title>proc report: split data (not header)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-report-split-data-not-header/m-p/37091#M9402</link>
      <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I know there is a split attribute to the proc report statement. Is there anything like that for data cells? I'd like to set the split at a specific place.&lt;BR /&gt;
&lt;BR /&gt;
As I create the data for the relevant column in a data step before I could insert a special character to mark where the split should take place.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Eva&lt;BR /&gt;
&lt;BR /&gt;
data myfile;&lt;BR /&gt;
 set myinput;&lt;BR /&gt;
 mycol1 = "This is data where I'd like to split*like after this star";&lt;BR /&gt;
 mycol2 = 1;&lt;BR /&gt;
 output;&lt;BR /&gt;
 mycol1 = "hello*next line";&lt;BR /&gt;
 mycol2 = 2;&lt;BR /&gt;
 output;&lt;BR /&gt;
 mycol1 = "another hello*another next line";&lt;BR /&gt;
 mycol2 = 2;&lt;BR /&gt;
 output;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc report data=myfile;&lt;BR /&gt;
 column mycol1 mycol2;&lt;BR /&gt;
 define mycol1 / group;&lt;BR /&gt;
 define mycol2 / analysis sum;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
How do I define for mycol1 split into 2 rows at the character * ?</description>
      <pubDate>Fri, 19 Nov 2010 17:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-report-split-data-not-header/m-p/37091#M9402</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2010-11-19T17:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc report: split data (not header)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-report-split-data-not-header/m-p/37092#M9403</link>
      <description>Hi,&lt;BR /&gt;
You will want to look up ODS  ESCAPECHAR in previous forum postings, Tech Support notes and user group papers. This feature of ODS has been around for a while now and there is one form for 9.1.3 and earlier and a different form for 9.2 release.&lt;BR /&gt;
&lt;BR /&gt;
The basic method is&lt;BR /&gt;
1) declare your escape character&lt;BR /&gt;
2) use your escape character in text&lt;BR /&gt;
&lt;BR /&gt;
The only thing is that the listing destination does not use ODS ESCAPECHAR.&lt;BR /&gt;
&lt;BR /&gt;
Cynthia</description>
      <pubDate>Fri, 19 Nov 2010 18:21:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-report-split-data-not-header/m-p/37092#M9403</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-11-19T18:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc report: split data (not header)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-report-split-data-not-header/m-p/37093#M9404</link>
      <description>Dear Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
thanx a lot. I wouldn't have found it without the hint to escapechar. It's amazing how much you can do with it!&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Eva</description>
      <pubDate>Mon, 22 Nov 2010 12:02:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-report-split-data-not-header/m-p/37093#M9404</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2010-11-22T12:02:34Z</dc:date>
    </item>
  </channel>
</rss>

