<?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 how can we repeat  a column on each page when output is divided vertically? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-we-repeat-a-column-on-each-page-when-output-is-divided/m-p/35379#M5111</link>
    <description>I have following data&lt;BR /&gt;
week dt1 dt2 ID day value&lt;BR /&gt;
0       --&lt;BR /&gt;
0      -- &lt;BR /&gt;
0      --  &lt;BR /&gt;
1&lt;BR /&gt;
1&lt;BR /&gt;
2&lt;BR /&gt;
2&lt;BR /&gt;
3&lt;BR /&gt;
like this I have around 15 weeks and each week has data for more than one lab day for which dt1 and dt2 are unique. All together there are around 300 obs.&lt;BR /&gt;
I have written the following code &lt;BR /&gt;
proc report data=sample nowd;&lt;BR /&gt;
columns (week day) id, (dt1 d2t val);&lt;BR /&gt;
define id/across order=data 'Patient Id' spacing=1;&lt;BR /&gt;
define week/group "Week" width=10;&lt;BR /&gt;
define day/group "Day" nozero width=10 ' ';&lt;BR /&gt;
define dt1/group 'Date1' width=10 spacing=1;&lt;BR /&gt;
define dt2/group 'Date2' width=10 spacing=1;&lt;BR /&gt;
define val/group " ";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I am getting the data on multiple pages divided vertically . for example first four IDs data is coming on the first page in the following format&lt;BR /&gt;
                               Id&lt;BR /&gt;
week   day          dt1 dt2 val&lt;BR /&gt;
&lt;BR /&gt;
but in the second page the columns week and day are not displayed as follows&lt;BR /&gt;
   ID&lt;BR /&gt;
dt1 dt2 val&lt;BR /&gt;
&lt;BR /&gt;
I want the columns week, day to be displayed on each page. please help me. I have to do this using proc report only.</description>
    <pubDate>Thu, 31 Jul 2008 14:56:11 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-07-31T14:56:11Z</dc:date>
    <item>
      <title>how can we repeat  a column on each page when output is divided vertically?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-we-repeat-a-column-on-each-page-when-output-is-divided/m-p/35379#M5111</link>
      <description>I have following data&lt;BR /&gt;
week dt1 dt2 ID day value&lt;BR /&gt;
0       --&lt;BR /&gt;
0      -- &lt;BR /&gt;
0      --  &lt;BR /&gt;
1&lt;BR /&gt;
1&lt;BR /&gt;
2&lt;BR /&gt;
2&lt;BR /&gt;
3&lt;BR /&gt;
like this I have around 15 weeks and each week has data for more than one lab day for which dt1 and dt2 are unique. All together there are around 300 obs.&lt;BR /&gt;
I have written the following code &lt;BR /&gt;
proc report data=sample nowd;&lt;BR /&gt;
columns (week day) id, (dt1 d2t val);&lt;BR /&gt;
define id/across order=data 'Patient Id' spacing=1;&lt;BR /&gt;
define week/group "Week" width=10;&lt;BR /&gt;
define day/group "Day" nozero width=10 ' ';&lt;BR /&gt;
define dt1/group 'Date1' width=10 spacing=1;&lt;BR /&gt;
define dt2/group 'Date2' width=10 spacing=1;&lt;BR /&gt;
define val/group " ";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I am getting the data on multiple pages divided vertically . for example first four IDs data is coming on the first page in the following format&lt;BR /&gt;
                               Id&lt;BR /&gt;
week   day          dt1 dt2 val&lt;BR /&gt;
&lt;BR /&gt;
but in the second page the columns week and day are not displayed as follows&lt;BR /&gt;
   ID&lt;BR /&gt;
dt1 dt2 val&lt;BR /&gt;
&lt;BR /&gt;
I want the columns week, day to be displayed on each page. please help me. I have to do this using proc report only.</description>
      <pubDate>Thu, 31 Jul 2008 14:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-we-repeat-a-column-on-each-page-when-output-is-divided/m-p/35379#M5111</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-31T14:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: how can we repeat  a column on each page when output is divided vertically?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-we-repeat-a-column-on-each-page-when-output-is-divided/m-p/35380#M5112</link>
      <description>Use the ID option on the DEFINE statement for DAY. This tells REPORT to put the DAY column and all the columns to the left of DAY on each page of the report. See &lt;A href="http://support.sas.com/documentation/cdl/en/proc/59565/HTML/default/a002473627.htm#a003072099"&gt;http://support.sas.com/documentation/cdl/en/proc/59565/HTML/default/a002473627.htm#a003072099&lt;/A&gt;.</description>
      <pubDate>Thu, 31 Jul 2008 17:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-we-repeat-a-column-on-each-page-when-output-is-divided/m-p/35380#M5112</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2008-07-31T17:13:36Z</dc:date>
    </item>
  </channel>
</rss>

