<?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 id option not working in proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/id-option-not-working-in-proc-report/m-p/611654#M178298</link>
    <description>&lt;P&gt;ods rtf file='D:\harish_resume\testing.rtf' ;&lt;BR /&gt;proc report data=sashelp.cars nowd;&lt;BR /&gt;column origin make type msrp ;&lt;BR /&gt;define origin/id order ;&lt;BR /&gt;run;&lt;BR /&gt;ods rtf close ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;after generating rtf file first page has origin value but next page hasn't origin value .&lt;/P&gt;
&lt;P&gt;id : should print every page&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, 13 Dec 2019 17:15:37 GMT</pubDate>
    <dc:creator>thanikondharish</dc:creator>
    <dc:date>2019-12-13T17:15:37Z</dc:date>
    <item>
      <title>id option not working in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/id-option-not-working-in-proc-report/m-p/611654#M178298</link>
      <description>&lt;P&gt;ods rtf file='D:\harish_resume\testing.rtf' ;&lt;BR /&gt;proc report data=sashelp.cars nowd;&lt;BR /&gt;column origin make type msrp ;&lt;BR /&gt;define origin/id order ;&lt;BR /&gt;run;&lt;BR /&gt;ods rtf close ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;after generating rtf file first page has origin value but next page hasn't origin value .&lt;/P&gt;
&lt;P&gt;id : should print every page&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, 13 Dec 2019 17:15:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/id-option-not-working-in-proc-report/m-p/611654#M178298</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2019-12-13T17:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: id option not working in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/id-option-not-working-in-proc-report/m-p/611682#M178320</link>
      <description>&lt;P&gt;The ID option comes into play when you have more &lt;STRONG&gt;columns&lt;/STRONG&gt; than will normally fit on a page. The ID variables are then duplicated for the extended rows so you can identify which row is extended into a another "block" of table output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider the output of from this:&lt;/P&gt;
&lt;PRE&gt;ods rtf file='D:\harish_resume\testing.rtf' ;

proc report data=sashelp.cars nowd
  colwidth =15 ;
define origin/id order ;
run;
ods rtf close;&lt;/PRE&gt;
&lt;P&gt;Which will have the output for all of the variables and the width will exceed the width of a page. So the all of the tables with the first variables will be displayed and then the extended output will appear afterwards with continued variables.&lt;/P&gt;
&lt;P&gt;Since the ID variable is Origin and the default order of the data without a columns statement has Make, Model and Type appear to the left of the ID variable all of those are repeated. From the documentation for ID:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp; An ID variable and all columns to its left appear at the left of every page of a report. ID ensures that you can identify each row of the report when the report contains more columns than fits on one page.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You likely don't want an ID variable as an order variable due to the way order variables are used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure what you are attempting to accomplish. Maybe you want a PAGE variable??&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 18:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/id-option-not-working-in-proc-report/m-p/611682#M178320</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-13T18:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: id option not working in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/id-option-not-working-in-proc-report/m-p/611784#M178390</link>
      <description>&lt;P&gt;Generally , ID option is company with PAGE option .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.cars(obs=10) nowd;
column origin make type msrp ;
define origin/id order ;
define msrp/display page;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Dec 2019 10:08:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/id-option-not-working-in-proc-report/m-p/611784#M178390</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-12-14T10:08:09Z</dc:date>
    </item>
  </channel>
</rss>

