<?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: not missing in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811718#M33969</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set a;
    where not missing(total);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 05 May 2022 18:27:41 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-05-05T18:27:41Z</dc:date>
    <item>
      <title>not missing</title>
      <link>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811717#M33968</link>
      <description>&lt;P&gt;I want a code which uses phrase "not missing" or something similar to remove the missing values.&lt;/P&gt;&lt;P&gt;Data A:&lt;/P&gt;&lt;P&gt;ID total&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;16&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Data Want:&lt;/P&gt;&lt;P&gt;I want the code&amp;nbsp;with using&amp;nbsp;"not missing"&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 18:24:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811717#M33968</guid>
      <dc:creator>Smitha9</dc:creator>
      <dc:date>2022-05-05T18:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: not missing</title>
      <link>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811718#M33969</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set a;
    where not missing(total);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 May 2022 18:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811718#M33969</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-05-05T18:27:41Z</dc:date>
    </item>
    <item>
      <title>not missing code</title>
      <link>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811720#M33973</link>
      <description>&lt;P&gt;I want a code which uses phrase "not missing" or something similar to code.&lt;/P&gt;&lt;P&gt;Data A:&lt;/P&gt;&lt;P&gt;ID total&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;16&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Data Want:&lt;/P&gt;&lt;P&gt;I want the code&amp;nbsp;&lt;/P&gt;&lt;P&gt;if&amp;nbsp;"not missing" then fun=1 else fun=0&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; total&amp;nbsp;&amp;nbsp; fun&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp; 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 18:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811720#M33973</guid>
      <dc:creator>Smitha9</dc:creator>
      <dc:date>2022-05-05T18:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: not missing code</title>
      <link>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811722#M33974</link>
      <description>&lt;P&gt;Already answered in your &lt;A href="https://communities.sas.com/t5/New-SAS-User/not-missing/td-p/811717/jump-to/first-unread-message" target="_self"&gt;other thread&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please do not post the same question twice.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 18:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811722#M33974</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-05-05T18:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: not missing code</title>
      <link>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811735#M33975</link>
      <description>&lt;P&gt;I merged the double-post.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 19:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/811735#M33975</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-05-05T19:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: not missing code</title>
      <link>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/812144#M34000</link>
      <description>&lt;P&gt;Go review the documentation on the &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p06ybg84o0asa4n17l9ieauk58hb.htm%20" target="_self"&gt;Missing Function&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have ;
	infile cards ;
	input id $ total ;
cards ;
1 12
2 .
3 14
4 16
5 .
;

data want ;
	set have ;
	/* Use the Missing Function */
	/* https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p06ybg84o0asa4n17l9ieauk58hb.htm */
	if not missing(total) then fun=1 ;
	else fun=0 ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 May 2022 12:24:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/not-missing/m-p/812144#M34000</guid>
      <dc:creator>AMSAS</dc:creator>
      <dc:date>2022-05-09T12:24:28Z</dc:date>
    </item>
  </channel>
</rss>

