<?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: Simple one hopefully - ODS excel XP tagset problem - in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65859#M7657</link>
    <description>I noticed you don't have a var statement.  Is umony your analysis variable?</description>
    <pubDate>Fri, 20 Aug 2010 15:08:35 GMT</pubDate>
    <dc:creator>garybald</dc:creator>
    <dc:date>2010-08-20T15:08:35Z</dc:date>
    <item>
      <title>Simple one hopefully - ODS excel XP tagset problem -</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65856#M7654</link>
      <description>When I use the above to get output from proc tabulate, the columns are not set out in excel properly - i just get everything in the column A cells - with values seperated by half pipe symbols eg: .  949|  528| 1043| 1031| 1132|  850|  899|  447|. Being new to this It could be an obvious fix.&lt;BR /&gt;
&lt;BR /&gt;
I tried some sas example code which works fine, using the same ods statement/tagset, but example data so what's going on?&lt;BR /&gt;
&lt;BR /&gt;
Cheers</description>
      <pubDate>Fri, 20 Aug 2010 12:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65856#M7654</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-20T12:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Simple one hopefully - ODS excel XP tagset problem -</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65857#M7655</link>
      <description>Would you post the tabulate code please?</description>
      <pubDate>Fri, 20 Aug 2010 13:37:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65857#M7655</guid>
      <dc:creator>garybald</dc:creator>
      <dc:date>2010-08-20T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Simple one hopefully - ODS excel XP tagset problem -</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65858#M7656</link>
      <description>ods tagsets.excelxp file='y:\Extract.xml' style=minimal ;&lt;BR /&gt;
&lt;BR /&gt;
rsubmit;&lt;BR /&gt;
proc tabulate data = miu;&lt;BR /&gt;
class stat_typ umony;&lt;BR /&gt;
table stat_typ, umony*(N*F=5.)&lt;BR /&gt;
/rts =5 nocontinued;&lt;BR /&gt;
 &lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
endrsubmit;&lt;BR /&gt;
&lt;BR /&gt;
ods _all_ close;</description>
      <pubDate>Fri, 20 Aug 2010 13:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65858#M7656</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-20T13:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Simple one hopefully - ODS excel XP tagset problem -</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65859#M7657</link>
      <description>I noticed you don't have a var statement.  Is umony your analysis variable?</description>
      <pubDate>Fri, 20 Aug 2010 15:08:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65859#M7657</guid>
      <dc:creator>garybald</dc:creator>
      <dc:date>2010-08-20T15:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Simple one hopefully - ODS excel XP tagset problem -</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65860#M7658</link>
      <description>I didn't use a var statement -  as the statistic required is N ie a simple count, which the proc defaults to if var is omitted.</description>
      <pubDate>Fri, 20 Aug 2010 15:11:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65860#M7658</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-20T15:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simple one hopefully - ODS excel XP tagset problem -</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65861#M7659</link>
      <description>PBALL&lt;BR /&gt;
&lt;BR /&gt;
 &lt;BR /&gt;
problem is rsubmit&lt;BR /&gt;
 &lt;BR /&gt;
excelxp works only "locally"&lt;BR /&gt;
 &lt;BR /&gt;
you could create the xml on the remote server (put the ods tagsets statements inside the rsubmit block), and arrange "delivery" of the xml in any of a variety of ways, .&lt;BR /&gt;
&amp;gt; rsubmit;&lt;BR /&gt;
&amp;gt; ods tagsets.excelxp file="%SYSFUNC(PATHNAME(WORK))/Extract.xml" RS=NONE &lt;BR /&gt;
&amp;gt; style=minimal  ;&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; proc tabulate data = miu;&lt;BR /&gt;
&amp;gt; class stat_typ umony;&lt;BR /&gt;
&amp;gt; table stat_typ, umony*(N*F=5.)&lt;BR /&gt;
&amp;gt; /rts =5 nocontinued;&lt;BR /&gt;
&amp;gt;  &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; run;&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; ods _all_ close;&lt;BR /&gt;
PROC DOWNLOAD INFILE= "%SYSFUNC(PATHNAME(WORK))/Extract.xml"&lt;BR /&gt;
   OUTFILE= 'y:\Extract.xml' ;&lt;BR /&gt;
RUN ;&lt;BR /&gt;
&amp;gt; endrsubmit;&lt;BR /&gt;
&lt;BR /&gt;
UNFORTUNATELY, handling remote servers on z/OS is less easy to equate to remote server handling for unix or windows platforms, so the above is not good enoughif your remote server is on z/OS.  (if you don't know the server platorm, check by submitting&lt;BR /&gt;
 rsubmit ; %put &amp;amp;sysscp &amp;amp;sysscpL &amp;amp;sysVLong ; endrsubmit ;&lt;BR /&gt;
 &lt;BR /&gt;
 &lt;BR /&gt;
 &lt;BR /&gt;
Alternatively, you could use remote library services to create your xml in the local session, like:&lt;BR /&gt;
 &lt;BR /&gt;
%let rserver = %sysfunc( getoption(remote)) ;&lt;BR /&gt;
libname rwork remote slibref= work server= &amp;amp;rserver ; &lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; ods tagsets.excelxp file='y:\Extract.xml'  style=minimal ;&lt;BR /&gt;
&lt;BR /&gt;
  proc tabulate data = RWORK.miu;&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; class stat_typ umony;&lt;BR /&gt;
&amp;gt; table stat_typ, umony*(N*F=5.)&lt;BR /&gt;
&amp;gt; /rts =5 nocontinued;&lt;BR /&gt;
&amp;gt;  &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; run;&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; ods _all_ close;&lt;BR /&gt;
LIBNAME RWORK  ;</description>
      <pubDate>Mon, 23 Aug 2010 11:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Simple-one-hopefully-ODS-excel-XP-tagset-problem/m-p/65861#M7659</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-08-23T11:37:01Z</dc:date>
    </item>
  </channel>
</rss>

