<?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: Apparent loop with CONTENTS='YES' in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Apparent-loop-with-CONTENTS-YES/m-p/450#M193</link>
    <description>Thanks.  I'll take a look.  I just used this the other day so I'm surprised it's not working.</description>
    <pubDate>Wed, 19 Apr 2006 20:03:46 GMT</pubDate>
    <dc:creator>Eric_SAS</dc:creator>
    <dc:date>2006-04-19T20:03:46Z</dc:date>
    <item>
      <title>Apparent loop with CONTENTS='YES'</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Apparent-loop-with-CONTENTS-YES/m-p/449#M192</link>
      <description>This code:&lt;BR /&gt;
&lt;BR /&gt;
=====&lt;BR /&gt;
/* Get latest copy of tagset from SAS web site */                     &lt;BR /&gt;
filename tagset http                                                  &lt;BR /&gt;
   'http://support.sas.com:80/rnd/base/topics/odsmarkup/excltags.tpl';&lt;BR /&gt;
%include tagset / nosource2;                                          &lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp file='c:\sas\programs\excelxp\ex5.xls' options(sheet_interval='bygroup' contents='yes');&lt;BR /&gt;
&lt;BR /&gt;
proc sort data=sashelp.class out=classbysex;&lt;BR /&gt;
by sex;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc report data=classbysex nofs missing;&lt;BR /&gt;
   column sex n name age height weight;&lt;BR /&gt;
   define sex / order noprint;&lt;BR /&gt;
   define n / noprint;&lt;BR /&gt;
   break after sex / page;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
=====&lt;BR /&gt;
&lt;BR /&gt;
produces a large number (perhaps until the computer runs out of electrons) of error messages:&lt;BR /&gt;
&lt;BR /&gt;
=====&lt;BR /&gt;
22976  proc report data=classbysex nofs missing;&lt;BR /&gt;
22977     column sex n name age height weight;&lt;BR /&gt;
22978     define sex / order noprint;&lt;BR /&gt;
22979     define n / noprint;&lt;BR /&gt;
22980     break after sex / page;&lt;BR /&gt;
22981  run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Multiple concurrent threads will be used to summarize data.&lt;BR /&gt;
WARNING: In Event: write_contents_entries, Invalid Expression:  do /while $entry_count &amp;lt;= $content_values&lt;BR /&gt;
WARNING: In Event: write_contents_entries, Invalid Expression:  do /while $entry_count &amp;lt;= $content_values&lt;BR /&gt;
WARNING: In Event: write_contents_entries, Invalid Expression:  do /while $entry_count &amp;lt;= $content_values&lt;BR /&gt;
WARNING: In Event: write_contents_entries, Invalid Expression:  do /while $entry_count &amp;lt;= $content_values&lt;BR /&gt;
WARNING: In Event: write_contents_entries, Invalid Expression:  do /while $entry_count &amp;lt;= $content_values&lt;BR /&gt;
WARNING: In Event: write_contents_entries, Invalid Expression:  do /while $entry_count &amp;lt;= $content_values&lt;BR /&gt;
WARNING: In Event: write_contents_entries, Invalid Expression:  do /while $entry_count &amp;lt;= $content_values&lt;BR /&gt;
WARNING: In Event: write_contents_entries, Invalid Expression:  do /while $entry_count &amp;lt;= $content_values&lt;BR /&gt;
=====&lt;BR /&gt;
&lt;BR /&gt;
etc.&lt;BR /&gt;
&lt;BR /&gt;
This happens on Windows, doesn't happen on MVS.&lt;BR /&gt;
&lt;BR /&gt;
Specifying index='yes' causes an unloadable file to be created.  Specifying contents_workbook='all' doesn't cause any errors, but also doesn't create any contents sheets.</description>
      <pubDate>Wed, 19 Apr 2006 19:35:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Apparent-loop-with-CONTENTS-YES/m-p/449#M192</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2006-04-19T19:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent loop with CONTENTS='YES'</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Apparent-loop-with-CONTENTS-YES/m-p/450#M193</link>
      <description>Thanks.  I'll take a look.  I just used this the other day so I'm surprised it's not working.</description>
      <pubDate>Wed, 19 Apr 2006 20:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Apparent-loop-with-CONTENTS-YES/m-p/450#M193</guid>
      <dc:creator>Eric_SAS</dc:creator>
      <dc:date>2006-04-19T20:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent loop with CONTENTS='YES'</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Apparent-loop-with-CONTENTS-YES/m-p/451#M194</link>
      <description>Hi Jack,&lt;BR /&gt;
&lt;BR /&gt;
I have a fix for you.  There were various problems.  I'm not sure if it was a compatibility issue with report or a combination of that with a few other strange behaviors.    We are currently testing it to make sure it's good to go.&lt;BR /&gt;
&lt;BR /&gt;
The individual table entries are still missing from the contents worksheet.  That could be a proc report compatibility issue.  I haven't tracked that down yet.   It does successfully create both a contents and an index and everything links the way it should.</description>
      <pubDate>Thu, 20 Apr 2006 18:47:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Apparent-loop-with-CONTENTS-YES/m-p/451#M194</guid>
      <dc:creator>Eric_SAS</dc:creator>
      <dc:date>2006-04-20T18:47:12Z</dc:date>
    </item>
  </channel>
</rss>

