<?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 proc surveyselect question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/452924#M114353</link>
    <description>&lt;P&gt;is there any option for surveyselect to create an empty dataset when there are no records in the dataset it is selecting from does not have any records?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, is there another option to random sampling what will produce a output dataset with no records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Elliott&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 19:16:35 GMT</pubDate>
    <dc:creator>Elliott</dc:creator>
    <dc:date>2018-04-10T19:16:35Z</dc:date>
    <item>
      <title>proc surveyselect question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/452924#M114353</link>
      <description>&lt;P&gt;is there any option for surveyselect to create an empty dataset when there are no records in the dataset it is selecting from does not have any records?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, is there another option to random sampling what will produce a output dataset with no records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Elliott&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 19:16:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/452924#M114353</guid>
      <dc:creator>Elliott</dc:creator>
      <dc:date>2018-04-10T19:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyselect question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/452955#M114365</link>
      <description>&lt;P&gt;What kind of sampling are you trying to do? Please post your surveyselect code.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 20:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/452955#M114365</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-04-10T20:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyselect question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/452963#M114370</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/17300"&gt;@Elliott&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;is there any option for surveyselect to create an empty dataset when there are no records in the dataset it is selecting from does not have any records?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, is there another option to random sampling what will produce a output dataset with no records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Elliott&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What do you expect to be in the output set after "randomly " selecting nothing from nothing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to create data set with the same structure but no records then&lt;/P&gt;
&lt;PRE&gt;data junk;
   set sashelp.class (obs=0);
run;&lt;/PRE&gt;
&lt;P&gt;Surveyselect given a zero record input set will generate an output set with zero records and zero variables. Not very useful as far as I can see.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 21:25:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/452963#M114370</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-10T21:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyselect question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/453002#M114385</link>
      <description>I know it makes no sense.  I an just trying not to have the code error in a production environment.  Sometimes there are no records that meet the criteria to sample from.  I just need a blank data set in that case to produce a empty sheet in the reporting I am providing.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Apr 2018 23:16:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/453002#M114385</guid>
      <dc:creator>Elliott</dc:creator>
      <dc:date>2018-04-10T23:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyselect question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/453008#M114387</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/17300"&gt;@Elliott&lt;/a&gt; wrote:&lt;BR /&gt;I know it makes no sense. I an just trying not to have the code error in a production environment. Sometimes there are no records that meet the criteria to sample from. I just need a blank data set in that case to produce a empty sheet in the reporting I am providing.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are you wanting the Surveyselect tables with the selection method and summary of input/output sets with weights or something else?&lt;/P&gt;
&lt;P&gt;What exact type of selection are you doing? Does your current empty input set generate errors?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 23:55:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect-question/m-p/453008#M114387</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-10T23:55:17Z</dc:date>
    </item>
  </channel>
</rss>

