<?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 Trimmed dataset to have only female participants. How do I save new dataset? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Trimmed-dataset-to-have-only-female-participants-How-do-I-save/m-p/824503#M35155</link>
    <description>&lt;P&gt;I have a dataset and is interested in only do analysis among female participants. How do I save this new dataset? I want to be able to send the trimmed dataset to another researcher so that they just open the new dataset.&amp;nbsp; Do I do a new libname?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help. I am definitely a newbie so pardon my simplistic question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 21:18:34 GMT</pubDate>
    <dc:creator>gtucke1</dc:creator>
    <dc:date>2022-07-20T21:18:34Z</dc:date>
    <item>
      <title>Trimmed dataset to have only female participants. How do I save new dataset?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trimmed-dataset-to-have-only-female-participants-How-do-I-save/m-p/824503#M35155</link>
      <description>&lt;P&gt;I have a dataset and is interested in only do analysis among female participants. How do I save this new dataset? I want to be able to send the trimmed dataset to another researcher so that they just open the new dataset.&amp;nbsp; Do I do a new libname?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help. I am definitely a newbie so pardon my simplistic question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 21:18:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trimmed-dataset-to-have-only-female-participants-How-do-I-save/m-p/824503#M35155</guid>
      <dc:creator>gtucke1</dc:creator>
      <dc:date>2022-07-20T21:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trimmed dataset to have only female participants. How do I save new dataset?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trimmed-dataset-to-have-only-female-participants-How-do-I-save/m-p/824505#M35156</link>
      <description>&lt;P&gt;You don't need a new libname, you can use any libname that you have already created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's suppose you already have a libname named FRED, and you want to create this new data set inside libname FRED. Then something like this works, it creates a new data set named FEMALES_ONLY in libname FRED. (That's what the two-part name indicates, FRED.FEMALES_ONLY is the data set FEMALES_ONLY in libname FRED). For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data fred.females_only;
     set yourdatasetname;
     where gender='F';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But even the above is not necessary, assuming that your colleague has read access to your existing libname. you can send this person the LIBNAME statement, placing ACCESS=READONLY at the end, and then this person can do whatever he or she or it wants, you shouldn't have to subset the data for this person.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname FRED "yourfoldername" access=readonly;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 21:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trimmed-dataset-to-have-only-female-participants-How-do-I-save/m-p/824505#M35156</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-20T21:28:55Z</dc:date>
    </item>
  </channel>
</rss>

