<?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: creating data set in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740001#M231075</link>
    <description>&lt;P&gt;Please be more specific about the condition regarding how to choose the records that wind up in the output data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide a portion of the large data set following &lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;these instructions&lt;/A&gt;, and not via any other method.&lt;/P&gt;</description>
    <pubDate>Sat, 08 May 2021 20:15:27 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-05-08T20:15:27Z</dc:date>
    <item>
      <title>creating data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/739992#M231067</link>
      <description>&lt;P&gt;Need inputs in below query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We want a smaller dateset from a huge dateset(having 10000 variable) based on a condition , and also creating a new variable.&lt;/P&gt;
&lt;P&gt;What are options and statements you are going to prefer ?&lt;/P&gt;
&lt;P&gt;and out of 10000 variables we need few only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please suggest&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 19:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/739992#M231067</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-05-08T19:36:41Z</dc:date>
    </item>
    <item>
      <title>creating datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/739994#M231118</link>
      <description>&lt;P&gt;How can we create 4 to 5&amp;nbsp; datasets , based on different condition in single code ?&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 19:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/739994#M231118</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-05-08T19:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: creating datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/739998#M231119</link>
      <description>&lt;P&gt;Generally best not to do this, turning one large data set into 4 or 5 smaller ones is not a good thing to do, unless you have a very good reason.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using SASHELP.CLASS as an example, you can use portions of the data set as needed, without creating separate data sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.class(where=(sex='M'));
run;

proc print data=sashelp.class(where=(sex='F'));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 20:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/739998#M231119</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-08T20:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: creating data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740001#M231075</link>
      <description>&lt;P&gt;Please be more specific about the condition regarding how to choose the records that wind up in the output data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide a portion of the large data set following &lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;these instructions&lt;/A&gt;, and not via any other method.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 20:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740001#M231075</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-08T20:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: creating data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740022#M231087</link>
      <description>HW or test for a job?</description>
      <pubDate>Sun, 09 May 2021 01:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740022#M231087</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-09T01:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: creating datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740023#M231120</link>
      <description>The general recommendation in SAS is to not split data sets. The BY group processing typically makes this very unnecessary and it also requires a lot more work/effort if you do. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sgf/2020/07/23/splitting-a-data-set-into-smaller-data-sets/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2020/07/23/splitting-a-data-set-into-smaller-data-sets/&lt;/A&gt;</description>
      <pubDate>Sun, 09 May 2021 01:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740023#M231120</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-09T01:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: creating data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740090#M231121</link>
      <description>&lt;P&gt;I have merged both posts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does "huge" mean? Give some numbers!&lt;/P&gt;
&lt;P&gt;And having 10k variables is a design-fault, so fix that problem during creation of the dataset, not afterwards.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 04:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/creating-data-set/m-p/740090#M231121</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-05-10T04:59:40Z</dc:date>
    </item>
  </channel>
</rss>

