<?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 Excelxp default output restriction in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Excelxp-default-output-restriction/m-p/359610#M18633</link>
    <description>&lt;P&gt;Hi RW9,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yeah you are right, actually am creating this for distinct users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you its working for me.&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 11:24:13 GMT</pubDate>
    <dc:creator>sanjay1</dc:creator>
    <dc:date>2017-05-18T11:24:13Z</dc:date>
    <item>
      <title>Ods Excelxp default output restriction</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Excelxp-default-output-restriction/m-p/359593#M18630</link>
      <description>&lt;P&gt;Hi SAS Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ods excelxp to output xml files and to wrap the text columns, and am able to do that. But by default ods excelxp is opening the xml files after exporting them, here I want to stop this default behaviour of ods excelxp, is there is any options to do this.&lt;/P&gt;&lt;P&gt;Actually there more than 100 files am creating using excelxp concept and it witll be difficult for me to close them each time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data a;&lt;BR /&gt;set a;&lt;BR /&gt;amount=age*weight;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;select count(distinct sex) into : c from a;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;select distinct sex into:sex1-:sex%sysfunc(compress(&amp;amp;c)) from a;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro b;&lt;BR /&gt;%do i=1 %to &amp;amp;c;&lt;BR /&gt;ods tagsets.excelxp file="path\a_&amp;amp;&amp;amp;sex&amp;amp;i...xml" style=statistical options(absolute_column_width='10,5,5,5,5');&lt;BR /&gt;proc print data=a noobs;&lt;BR /&gt;var name sex age weight height;&lt;BR /&gt;var amount/style(data)={tagattr='format:&amp;amp;quot;$&amp;amp;quot;#,##0'};&lt;BR /&gt;where sex="&amp;amp;&amp;amp;sex&amp;amp;i.";&lt;BR /&gt;run;&lt;BR /&gt;ods tagsets.excelxp close;&lt;BR /&gt;%end;&lt;BR /&gt;%mend b;&lt;BR /&gt;%b;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Sanjay.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 10:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Excelxp-default-output-restriction/m-p/359593#M18630</guid>
      <dc:creator>sanjay1</dc:creator>
      <dc:date>2017-05-18T10:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ods Excelxp default output restriction</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Excelxp-default-output-restriction/m-p/359600#M18631</link>
      <description>&lt;P&gt;Put before your code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;ods noresults;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And afterwards:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods results;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This turns off the resulting output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to add, why are you creating 100 odd files? &amp;nbsp;Doesn't seem to be the most efficient use of disk space or reviewers time? &amp;nbsp;Its simpler to code to output to a new sheet each time, cuts down numbers of files.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 10:52:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Excelxp-default-output-restriction/m-p/359600#M18631</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-05-18T10:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ods Excelxp default output restriction</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Excelxp-default-output-restriction/m-p/359610#M18633</link>
      <description>&lt;P&gt;Hi RW9,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yeah you are right, actually am creating this for distinct users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you its working for me.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 11:24:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Excelxp-default-output-restriction/m-p/359610#M18633</guid>
      <dc:creator>sanjay1</dc:creator>
      <dc:date>2017-05-18T11:24:13Z</dc:date>
    </item>
  </channel>
</rss>

