<?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 tagsets excelxp - want output of only one datasets in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ods-tagsets-excelxp-want-output-of-only-one-datasets/m-p/530728#M5798</link>
    <description>&lt;P&gt;What you print in the ODS destination will be in your result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change to this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=diagnosis out=diag;
by patid;
run;
proc freq data=diag;
tables patid/out= test list missing;
run;

data test2;
set test;
if count le 5 then count = .t ;
run;

ods tagsets.excelxp file="location of excel file\test.xml" style=sasweb;

ods tagsets.excelxp options (sheet_name="less threshold count"
								embedded_titles="yes"
								sheet_interval="none");
proc print data=test2 noobs;
run;

ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Jan 2019 19:28:51 GMT</pubDate>
    <dc:creator>SuryaKiran</dc:creator>
    <dc:date>2019-01-28T19:28:51Z</dc:date>
    <item>
      <title>ods tagsets excelxp - want output of only one datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ods-tagsets-excelxp-want-output-of-only-one-datasets/m-p/530725#M5796</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want the output of of only second datasets "test2" in excel file. However i am getting the output of test as well as test 2 also. Can you please suggest me what changes i need to have in my program to have the correct output.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=diagnosis out=diag;
by patid;
run;


ods tagsets.excelxp file="location of excel file\test.xml" style=sasweb;

ods tagsets.excelxp options (sheet_name="less threshold count"
								embedded_titles="yes"
								sheet_interval="none");
proc freq data=diag;
tables patid/out= test list missing;
run;

data test2;
set test;
if count le 5 then count = .t ;
run;



ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The reason for getting output of "test2" is that i want to replace the count of population with T which has less than 10 count.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeetender&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 19:17:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ods-tagsets-excelxp-want-output-of-only-one-datasets/m-p/530725#M5796</guid>
      <dc:creator>jeetendersinghc</dc:creator>
      <dc:date>2019-01-28T19:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets excelxp - want output of only one datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ods-tagsets-excelxp-want-output-of-only-one-datasets/m-p/530728#M5798</link>
      <description>&lt;P&gt;What you print in the ODS destination will be in your result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change to this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=diagnosis out=diag;
by patid;
run;
proc freq data=diag;
tables patid/out= test list missing;
run;

data test2;
set test;
if count le 5 then count = .t ;
run;

ods tagsets.excelxp file="location of excel file\test.xml" style=sasweb;

ods tagsets.excelxp options (sheet_name="less threshold count"
								embedded_titles="yes"
								sheet_interval="none");
proc print data=test2 noobs;
run;

ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Jan 2019 19:28:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ods-tagsets-excelxp-want-output-of-only-one-datasets/m-p/530728#M5798</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2019-01-28T19:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets excelxp - want output of only one datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ods-tagsets-excelxp-want-output-of-only-one-datasets/m-p/530730#M5799</link>
      <description>Got it !!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jeetender</description>
      <pubDate>Mon, 28 Jan 2019 19:33:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ods-tagsets-excelxp-want-output-of-only-one-datasets/m-p/530730#M5799</guid>
      <dc:creator>jeetendersinghc</dc:creator>
      <dc:date>2019-01-28T19:33:19Z</dc:date>
    </item>
  </channel>
</rss>

