<?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 creating a spreadsheet using tagsets on a UNIX EG server in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/creating-a-spreadsheet-using-tagsets-on-a-UNIX-EG-server/m-p/68588#M2392</link>
    <description>I'm working with EG on a UNIX server and the only place I can write files is to the server.  I'm attempting to create a spreadsheet with multiple tabs.  Below is a sample program I pulled from the SAS site.  The program works to a point creating multiple html files in the folder on the server.  The program also creates a spreadsheet file but only 1K in size (the html files are each 28K in size).&lt;BR /&gt;
&lt;BR /&gt;
When I try and open the resulting spreadsheet on my PC excel complains that it can not find the html files (curiously the path is given but it is to a PC folder with the slashes in the wrong direction).  Apparently, SAS/EG is not really adding the html files to the spreadsheet but creating a link to them.&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to force SAS/EG to force it to copy the html into the spreadsheet?  Or is there a way to get it to get the path correct?&lt;BR /&gt;
&lt;BR /&gt;
proc sort data=sashelp.class out=test;&lt;BR /&gt;
by age;&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
  ods tagsets.msoffice2k file='/path/temp.html' newfile=output;&lt;BR /&gt;
&lt;BR /&gt;
  proc print data=test;&lt;BR /&gt;
  by age;&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.msoffice2k close;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
  ods tagsets.msoffice2k_x&lt;BR /&gt;
file="/path/multiple.xlsx" style=statistical&lt;BR /&gt;
      options(&lt;BR /&gt;
worksheet_source="11#/path/temp.html,&lt;BR /&gt;
12#/path/temp1.html,&lt;BR /&gt;
13#/path/temp2.html,&lt;BR /&gt;
14#/path/temp3.html,&lt;BR /&gt;
15#/path/temp4.html,&lt;BR /&gt;
16#/path/temp5.html"&lt;BR /&gt;
               );&lt;BR /&gt;
data _null_;&lt;BR /&gt;
    file print;&lt;BR /&gt;
    put "test";&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
  ods tagsets.msoffice2k_x close;&lt;BR /&gt;
run; quit;</description>
    <pubDate>Thu, 03 Feb 2011 16:29:18 GMT</pubDate>
    <dc:creator>wkossack</dc:creator>
    <dc:date>2011-02-03T16:29:18Z</dc:date>
    <item>
      <title>creating a spreadsheet using tagsets on a UNIX EG server</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/creating-a-spreadsheet-using-tagsets-on-a-UNIX-EG-server/m-p/68588#M2392</link>
      <description>I'm working with EG on a UNIX server and the only place I can write files is to the server.  I'm attempting to create a spreadsheet with multiple tabs.  Below is a sample program I pulled from the SAS site.  The program works to a point creating multiple html files in the folder on the server.  The program also creates a spreadsheet file but only 1K in size (the html files are each 28K in size).&lt;BR /&gt;
&lt;BR /&gt;
When I try and open the resulting spreadsheet on my PC excel complains that it can not find the html files (curiously the path is given but it is to a PC folder with the slashes in the wrong direction).  Apparently, SAS/EG is not really adding the html files to the spreadsheet but creating a link to them.&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to force SAS/EG to force it to copy the html into the spreadsheet?  Or is there a way to get it to get the path correct?&lt;BR /&gt;
&lt;BR /&gt;
proc sort data=sashelp.class out=test;&lt;BR /&gt;
by age;&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
  ods tagsets.msoffice2k file='/path/temp.html' newfile=output;&lt;BR /&gt;
&lt;BR /&gt;
  proc print data=test;&lt;BR /&gt;
  by age;&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.msoffice2k close;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
  ods tagsets.msoffice2k_x&lt;BR /&gt;
file="/path/multiple.xlsx" style=statistical&lt;BR /&gt;
      options(&lt;BR /&gt;
worksheet_source="11#/path/temp.html,&lt;BR /&gt;
12#/path/temp1.html,&lt;BR /&gt;
13#/path/temp2.html,&lt;BR /&gt;
14#/path/temp3.html,&lt;BR /&gt;
15#/path/temp4.html,&lt;BR /&gt;
16#/path/temp5.html"&lt;BR /&gt;
               );&lt;BR /&gt;
data _null_;&lt;BR /&gt;
    file print;&lt;BR /&gt;
    put "test";&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
  ods tagsets.msoffice2k_x close;&lt;BR /&gt;
run; quit;</description>
      <pubDate>Thu, 03 Feb 2011 16:29:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/creating-a-spreadsheet-using-tagsets-on-a-UNIX-EG-server/m-p/68588#M2392</guid>
      <dc:creator>wkossack</dc:creator>
      <dc:date>2011-02-03T16:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: creating a spreadsheet using tagsets on a UNIX EG server</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/creating-a-spreadsheet-using-tagsets-on-a-UNIX-EG-server/m-p/68589#M2393</link>
      <description>Hi:&lt;BR /&gt;
  This is not really an ODS &lt;U&gt;GRAPHICS&lt;/U&gt; or SAS/GRAPH question. It should be posted in the ODS and Base Reporting forum:&lt;BR /&gt;
 &lt;A href="http://support.sas.com/forums/forum.jspa?forumID=6" target="_blank"&gt;http://support.sas.com/forums/forum.jspa?forumID=6&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  Or, since your question involves EG, you might want to post this in the EG forum -- I believe there is a task in EG to copy files back and forth, if needed.&lt;BR /&gt;
&lt;BR /&gt;
  For more help with the FILE= option and the PATH= option (which you may need to use in this instance), you might want to open a track with SAS Tech Support or refer to this Tech Support note:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/23/638.html" target="_blank"&gt;http://support.sas.com/kb/23/638.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/12/119.html" target="_blank"&gt;http://support.sas.com/kb/12/119.html&lt;/A&gt;&lt;BR /&gt;
                        &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 03 Feb 2011 16:44:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/creating-a-spreadsheet-using-tagsets-on-a-UNIX-EG-server/m-p/68589#M2393</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-02-03T16:44:57Z</dc:date>
    </item>
  </channel>
</rss>

