<?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 Cant find newly created dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Cant-find-newly-created-dataset/m-p/408492#M99737</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to compute a new variable (BMI) with existing observations of weight and height. I have two questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. how do I report BMI as "missing" if either the height or weight variables are missing for a subject?&lt;/P&gt;&lt;P&gt;2. I tried to calculate it but I don't know how to access&amp;nbsp;the newly created data set that I believe is supposed to result of this command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a photo of the code and log. Thank you for any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-10-30 at 2.06.30 AM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16290iF55273A058A3DFFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-10-30 at 2.06.30 AM.png" alt="Screen Shot 2017-10-30 at 2.06.30 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-10-30 at 2.16.45 AM.png" style="width: 468px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16291i7467AC31C941C780/image-dimensions/468x244?v=v2" width="468" height="244" role="button" title="Screen Shot 2017-10-30 at 2.16.45 AM.png" alt="Screen Shot 2017-10-30 at 2.16.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2017 06:18:34 GMT</pubDate>
    <dc:creator>iressa13</dc:creator>
    <dc:date>2017-10-30T06:18:34Z</dc:date>
    <item>
      <title>Cant find newly created dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Cant-find-newly-created-dataset/m-p/408492#M99737</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to compute a new variable (BMI) with existing observations of weight and height. I have two questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. how do I report BMI as "missing" if either the height or weight variables are missing for a subject?&lt;/P&gt;&lt;P&gt;2. I tried to calculate it but I don't know how to access&amp;nbsp;the newly created data set that I believe is supposed to result of this command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a photo of the code and log. Thank you for any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-10-30 at 2.06.30 AM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16290iF55273A058A3DFFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-10-30 at 2.06.30 AM.png" alt="Screen Shot 2017-10-30 at 2.06.30 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-10-30 at 2.16.45 AM.png" style="width: 468px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16291i7467AC31C941C780/image-dimensions/468x244?v=v2" width="468" height="244" role="button" title="Screen Shot 2017-10-30 at 2.16.45 AM.png" alt="Screen Shot 2017-10-30 at 2.16.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 06:18:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Cant-find-newly-created-dataset/m-p/408492#M99737</guid>
      <dc:creator>iressa13</dc:creator>
      <dc:date>2017-10-30T06:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cant find newly created dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Cant-find-newly-created-dataset/m-p/408493#M99738</link>
      <description>&lt;P&gt;I think you should take this free course on SAS Programming 1: Essential&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/edu/schedules.html?ctry=us&amp;amp;crs=PROG1" target="_blank"&gt;https://support.sas.com/edu/schedules.html?ctry=us&amp;amp;crs=PROG1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise to your question, you can use If statment to handle BMI in case of missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go to Work library and find your output dataset. Or you can point your output dataset to PI library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 06:30:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Cant-find-newly-created-dataset/m-p/408493#M99738</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2017-10-30T06:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cant find newly created dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Cant-find-newly-created-dataset/m-p/408494#M99739</link>
      <description>&lt;P&gt;Code and logs are &lt;EM&gt;&lt;STRONG&gt;TEXT&lt;/STRONG&gt;&lt;/EM&gt;. Please post as such. Don't expect the people here to re-type from pictures.&lt;/P&gt;
&lt;P&gt;Also supply example data. Use the macro from&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; to convert your dataset P1.PROJECT1 to a data step, and post that according to &lt;A href="https://communities.sas.com/t5/help/faqpage/faq-category-id/posting?nobounce" target="_blank"&gt;https://communities.sas.com/t5/help/faqpage/faq-category-id/posting?nobounce&lt;/A&gt;, so we can recreate your dataset for testing with copy/paste and submit.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 06:30:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Cant-find-newly-created-dataset/m-p/408494#M99739</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-30T06:30:53Z</dc:date>
    </item>
  </channel>
</rss>

