<?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 do we create headers in the SAS Report? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332078#M62764</link>
    <description>Hi:&lt;BR /&gt;  Usually, you would write extra lines like this at a break point using a COMPUTE block. But without any data or seeing the code that you've tried, it is hard to guess what the structure of the data is. How the data is structured will impact the code, as you've probably discovered. I assume you want either RTF or PDF output, but again, hard to guess since you did not show your code and ODS statements.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
    <pubDate>Mon, 13 Feb 2017 06:37:25 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-02-13T06:37:25Z</dc:date>
    <item>
      <title>How do we create headers in the SAS Report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332071#M62763</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the attachment for Report screen shot file. I would like to create SAS Report using Proc Reports procedure.In this report screen shot file, how do we create different headers like &amp;nbsp;"Number of Beneficiary Cases" , "Case Type Initiated","Number of : "&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help on this .&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 05:43:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332071#M62763</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-02-13T05:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do we create headers in the SAS Report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332078#M62764</link>
      <description>Hi:&lt;BR /&gt;  Usually, you would write extra lines like this at a break point using a COMPUTE block. But without any data or seeing the code that you've tried, it is hard to guess what the structure of the data is. How the data is structured will impact the code, as you've probably discovered. I assume you want either RTF or PDF output, but again, hard to guess since you did not show your code and ODS statements.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Mon, 13 Feb 2017 06:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332078#M62764</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-02-13T06:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do we create headers in the SAS Report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332085#M62765</link>
      <description>Right now my sas app server is down.I have to write code for this.If it is&lt;BR /&gt;possible create sample data for the report showing in the attached file&lt;BR /&gt;previously.I am not aware of how to use compute block in proc report for&lt;BR /&gt;creating headers.Could you please create sample code for this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;chandu&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Mon, 13 Feb 2017 07:15:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332085#M62765</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-02-13T07:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do we create headers in the SAS Report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332213#M62767</link>
      <description>&lt;P&gt;Some of us don't like opening Microsoft format documents such as DOCX due to security concerns and others have such documents blocked by security.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PDF would be a better choice for showing text appearance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a silly question, do you have labels associated with any of the variables concerned?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 15:51:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332213#M62767</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-02-13T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do we create headers in the SAS Report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332244#M62768</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;&amp;nbsp; You can always make data using a DATA step program, with the DATALINES technique. For example, here is fake program to make some data for a grade report:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;data newclass;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; length Name $40 Type $30;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; infile datalines dlm=',' dsd;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; input ID Name $ Type $ Grade Average Final $;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;return;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;datalines;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;11,"Alex Andrews","Mid-Term Essay",95,93," "&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;22,"Barb Bascom","Final Exam",70,79,"B"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;33,"Carl Clarke","Final Exam",94,92,"A"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;33,"Carl Clarke","Group Project",90,92,"A"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;44,"Dana Decker","Mid-Term Essay",93,90," "&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;55,"Edgar Elston","Final Exam",87,90,"A"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you make some fake data that is in the same structure as your data and then post the code you've tried, people can work with data that resembles your actual data and make concrete suggestions based on the code you've started with. Otherwise, it is pointless to write code when the structure of the data for your question is unknown.The fake data that I might make might be completely different than the way your data looks and then the program would not be usable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The program will be different if the structure of data is different. The Above data for NEWCLASS has one row for every class deliverable for every student. It is possible to have more than one row for one student. In fact, it is likely that there will be more than one row per student. If the data was structured differently, then then program in the screen shot might need to be written differently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; An example of using PROC REPORT with a COMPUTE block is shown below, with the PDF results. What code have you tried? There are a lot of previous forum postings on using COMPUTE blocks. &lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7190i2A9707892B913BC8/image-size/original?v=1.0&amp;amp;px=-1" alt="example_report.png" title="example_report.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332244#M62768</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-02-13T16:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do we create headers in the SAS Report?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332554#M62779</link>
      <description>This example helped lot to me. Thank you very much.</description>
      <pubDate>Tue, 14 Feb 2017 11:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-we-create-headers-in-the-SAS-Report/m-p/332554#M62779</guid>
      <dc:creator>chanduk</dc:creator>
      <dc:date>2017-02-14T11:19:22Z</dc:date>
    </item>
  </channel>
</rss>

