<?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: ODS Tagset excel - header in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339217#M77397</link>
    <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still i'm not able to get the required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My coding is below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; tagsets.excelxp &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"%SYSFUNC(PATHNAME(WORK))/Motor_Daimler_&amp;amp;sysdate..xml"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; RS=NONE &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Journal&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;options(PREPEND_EQUALS=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"yes"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; QUOTE_BY_TYPE=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"yes"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;) options(embed_titles=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'yes'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;"Sample1"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = Final_SUMMARY_12MTD &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;label&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; tagsets.excelxp &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; outbox &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;email&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;If you can please amend the program.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2017 13:17:08 GMT</pubDate>
    <dc:creator>Reddi</dc:creator>
    <dc:date>2017-03-08T13:17:08Z</dc:date>
    <item>
      <title>ODS Tagset excel - header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339163#M77369</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying the below program and need to show&amp;nbsp;titles and footer&amp;nbsp;in the exported excel file ,&amp;nbsp;may be like run date and some comments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; tagsets.csv &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"%SYSFUNC(PATHNAME(WORK))/Motor_Daimler_&amp;amp;sysdate..csv"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; RS=NONE options(PREPEND_EQUALS=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"yes"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; QUOTE_BY_TYPE=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"yes"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; );&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = Final_SUMMARY_12MTD &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;label&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;_all_&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Can someone amend the above program.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Thanks in advanceeee&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 10:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339163#M77369</guid>
      <dc:creator>Reddi</dc:creator>
      <dc:date>2017-03-08T10:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Tagset excel - header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339165#M77371</link>
      <description>&lt;P&gt;CSV = Comma Separated Variable file - which is a more or less standard file format which has row 1 as column headings, and then the data on the following lines separated by commas. &amp;nbsp;It does not support titles/footnotes or anything else. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I assume your doing is wanting to open the data in Excel and see some Excel specific parts like titles/footnotes. &amp;nbsp;If so then switch over to tagsets.excelxp and embed the titles - note that this is an output review file, not great for data transfer - but then CSV is ideal for data transfer and not good for output review so choose what the purpose is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods tagsets.excelxp file="...\abc.xml" options(embed_titles='yes');
proc print...;
run;
ods tagsets.excelxp close;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Mar 2017 10:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339165#M77371</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-08T10:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Tagset excel - header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339186#M77382</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cant we export it as a excel file ? also can you amend the program below including Title and footnote statement. I tried it with .xml format itself but no use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 12:03:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339186#M77382</guid>
      <dc:creator>Reddi</dc:creator>
      <dc:date>2017-03-08T12:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Tagset excel - header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339197#M77388</link>
      <description>&lt;P&gt;Tagsets.excelxp generates XML file which Excel can read just fine (you may need to assign XML as Open With Excel - you could call the file xlsx to get this automatically, but its not advised as its not really an Excel file). &amp;nbsp;This tagset has all the necesary parts to make the output look nice - i.e. for review. &amp;nbsp;As above, you haven't stated what the file is to be used for, either a report for review, or data transfer. &amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods tagsets.excelxp file="...\abc.xml" options(embed_titles='yes');&lt;BR /&gt;title "Hello World";
proc print...;
run;
ods tagsets.excelxp close;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;If you want CSV, then no titles. &amp;nbsp;If you want pure XLSX file, then you can use libname excel, however again, you wont get titles/footnotes.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 12:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339197#M77388</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-08T12:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Tagset excel - header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339217#M77397</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still i'm not able to get the required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My coding is below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; tagsets.excelxp &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"%SYSFUNC(PATHNAME(WORK))/Motor_Daimler_&amp;amp;sysdate..xml"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; RS=NONE &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Journal&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;options(PREPEND_EQUALS=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"yes"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; QUOTE_BY_TYPE=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"yes"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;) options(embed_titles=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'yes'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;"Sample1"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = Final_SUMMARY_12MTD &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;label&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noobs&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; tagsets.excelxp &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; outbox &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;email&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;If you can please amend the program.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 13:17:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339217#M77397</guid>
      <dc:creator>Reddi</dc:creator>
      <dc:date>2017-03-08T13:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Tagset excel - header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339235#M77399</link>
      <description>&lt;P&gt;This should work, though I can't check at the moment:&lt;/P&gt;
&lt;PRE&gt;ods tagsets.excelxp file="%sysfunc(pathname(work))/motor_daimler_&amp;amp;sysdate..xml" style=journal
  options(embed_titles='yes');

title "sample1";
proc print data = final_summary_12mtd label noobs;
run;

ods tagsets.excelxp close;&lt;/PRE&gt;
&lt;P&gt;Oh, its probably not a good idea to write the file to work as that is a temporary area.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 13:50:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Tagset-excel-header/m-p/339235#M77399</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-08T13:50:05Z</dc:date>
    </item>
  </channel>
</rss>

