<?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 display 2 tables from one SAS dataset per subject for ECG data. in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-display-2-tables-from-one-SAS-dataset-per-subject-for-ECG/m-p/472023#M21123</link>
    <description>&lt;P&gt;Try the startpage= option:&lt;BR /&gt;&lt;A href="http://support.sas.com/kb/44/269.html" target="_blank"&gt;http://support.sas.com/kb/44/269.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Set it to none before the first and then set it to now, after the second.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to block out the code for each by group.&amp;nbsp; I.e for each by group, create a proc report with fixed startpage= option, yu can programmatically create this with macro or call execute.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 09:40:46 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-06-21T09:40:46Z</dc:date>
    <item>
      <title>How to display 2 tables from one SAS dataset per subject for ECG data.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-display-2-tables-from-one-SAS-dataset-per-subject-for-ECG/m-p/472020#M21122</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you help in below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a SAS dataset with Suject information like subjectid, race, age, and ecg data (visit, visit date, pr, hr, qrs). Please refer to attached file for the required final output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to display data per subject per page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The top table should have information like subjectid, race, age, and the below table should have information like visit, visit date, pr, hr, qrs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with below code: but this is not giving me per subject records per page:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;options orientation=landscape;&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;BR /&gt;ods escapechar='^';&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods rtf file="\\tsclient\D\Assignment\output2.rtf" STARTPAGE= NO keepn style= US_Landscape_10pt bodytitle;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;proc report data =adeg1 missing headline headskip nowd split='\' spacing=0;&lt;BR /&gt;columns usubjid trta sex age race;&lt;BR /&gt;by usubjid trta sex age race;&lt;/P&gt;&lt;P&gt;define usubjid / order width=8 center 'Subject' ;&lt;BR /&gt;define trta / order width=8 center 'Treatment' ;&lt;BR /&gt;define sex / order width=8 center 'Sex' ;&lt;BR /&gt;define age / order width=8 center 'Age' ;&lt;BR /&gt;define race / order width=8 center 'Race' ;&lt;/P&gt;&lt;P&gt;break after usubjid / page;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc report data =adeg1 missing headline headskip nowd split='\' spacing=0;&lt;BR /&gt;columns usubjid adt ady avisit hr qrs qt pr ;&lt;BR /&gt;by usubjid trta age sex race;&lt;/P&gt;&lt;P&gt;define usubjid / order=internal noprint ;&lt;BR /&gt;define adt / order width=8 center 'A date' ;&lt;BR /&gt;define ady / order width=8 center 'Day' ;&lt;BR /&gt;define avisit / order width=8 center 'Visit' ;&lt;BR /&gt;define hr / order width=8 center 'HR' ;&lt;BR /&gt;define qrs / order width=8 center 'QRS' ;&lt;BR /&gt;define qt / order width=8 center 'QT' ;&lt;BR /&gt;define pr / order width=8 center 'PR' ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods rtf close;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-display-2-tables-from-one-SAS-dataset-per-subject-for-ECG/m-p/472020#M21122</guid>
      <dc:creator>amitsas16</dc:creator>
      <dc:date>2018-06-21T09:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display 2 tables from one SAS dataset per subject for ECG data.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-display-2-tables-from-one-SAS-dataset-per-subject-for-ECG/m-p/472023#M21123</link>
      <description>&lt;P&gt;Try the startpage= option:&lt;BR /&gt;&lt;A href="http://support.sas.com/kb/44/269.html" target="_blank"&gt;http://support.sas.com/kb/44/269.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Set it to none before the first and then set it to now, after the second.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to block out the code for each by group.&amp;nbsp; I.e for each by group, create a proc report with fixed startpage= option, yu can programmatically create this with macro or call execute.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:40:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-display-2-tables-from-one-SAS-dataset-per-subject-for-ECG/m-p/472023#M21123</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-06-21T09:40:46Z</dc:date>
    </item>
  </channel>
</rss>

