<?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 Nonmissing values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Nonmissing-values/m-p/128260#M26210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question. Please help as soon as possible. &lt;/P&gt;&lt;P&gt; Suppose i have a dataset Which having variables like V, V1. V2, V3,V4,V5.V6,V7 and so on in order. I want to create a new Variable in such a way that if V is not missing then New varible will have the value of V. If V is missing then&amp;nbsp; New varible will have the value of V1. If V and V1 are both missing then New varible will have the value of V2. If V, V1 and V2 are missing then New varible will have the value of V3&amp;nbsp; and so on.&lt;/P&gt;&lt;P&gt;Can any one suggest , How should we proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 06:18:44 GMT</pubDate>
    <dc:creator>nandanosho</dc:creator>
    <dc:date>2013-10-30T06:18:44Z</dc:date>
    <item>
      <title>Nonmissing values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Nonmissing-values/m-p/128260#M26210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question. Please help as soon as possible. &lt;/P&gt;&lt;P&gt; Suppose i have a dataset Which having variables like V, V1. V2, V3,V4,V5.V6,V7 and so on in order. I want to create a new Variable in such a way that if V is not missing then New varible will have the value of V. If V is missing then&amp;nbsp; New varible will have the value of V1. If V and V1 are both missing then New varible will have the value of V2. If V, V1 and V2 are missing then New varible will have the value of V3&amp;nbsp; and so on.&lt;/P&gt;&lt;P&gt;Can any one suggest , How should we proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 06:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Nonmissing-values/m-p/128260#M26210</guid>
      <dc:creator>nandanosho</dc:creator>
      <dc:date>2013-10-30T06:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Nonmissing values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Nonmissing-values/m-p/128261#M26211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try coalesce function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new=coalesce(V,V1, V2, V3,V4,V5,V6,V7);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 06:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Nonmissing-values/m-p/128261#M26211</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-10-30T06:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nonmissing values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Nonmissing-values/m-p/128262#M26212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. It works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Nonmissing-values/m-p/128262#M26212</guid>
      <dc:creator>nandanosho</dc:creator>
      <dc:date>2013-10-30T09:19:07Z</dc:date>
    </item>
  </channel>
</rss>

