<?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: Case statement using proc SQL with missing function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830383#M328106</link>
    <description>&lt;P&gt;Maxim 3: Know Your Data.&lt;/P&gt;
&lt;P&gt;Run a PROC CONTENTS on processdata and see what it tells you about the variable.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 17:21:19 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-08-25T17:21:19Z</dc:date>
    <item>
      <title>Case statement using proc SQL with missing function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830363#M328094</link>
      <description>Proc SQL;&lt;BR /&gt;Create table duerw as&lt;BR /&gt;Select&lt;BR /&gt;Monotonic() as I'd,&lt;BR /&gt;Case&lt;BR /&gt;When missing('Reputational count'n) then ' '&lt;BR /&gt;Else put('Reputational count'n,mmddyy10.)&lt;BR /&gt;End as dtdate length10&lt;BR /&gt;From processdata;&lt;BR /&gt;Quit;&lt;BR /&gt;&lt;BR /&gt;In this above code the reputational code doesnot have value in the input file even thought the case statement doesnot stops at the first case and moves to the second step and gives the error as&lt;BR /&gt;&lt;BR /&gt;Error:Numeric format MMDDYY in put function requires a numeric argument.&lt;BR /&gt;Can anyone help me on this error?</description>
      <pubDate>Thu, 25 Aug 2022 15:32:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830363#M328094</guid>
      <dc:creator>Akshaya_1397</dc:creator>
      <dc:date>2022-08-25T15:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Case statement using proc SQL with missing function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830365#M328095</link>
      <description>&lt;P&gt;The variable is character and the code expected it to be numeric.&lt;/P&gt;
&lt;P&gt;Run a PROC CONTENTS on the input dataset, &lt;SPAN&gt;&lt;STRONG&gt;processdata&lt;/STRONG&gt;,&amp;nbsp;&lt;/SPAN&gt;and check what type of variable you actually have.&lt;/P&gt;
&lt;P&gt;What process created the input dataset?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 15:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830365#M328095</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-08-25T15:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Case statement using proc SQL with missing function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830383#M328106</link>
      <description>&lt;P&gt;Maxim 3: Know Your Data.&lt;/P&gt;
&lt;P&gt;Run a PROC CONTENTS on processdata and see what it tells you about the variable.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 17:21:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830383#M328106</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-08-25T17:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Case statement using proc SQL with missing function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830463#M328152</link>
      <description>Thankyou sir it helped me</description>
      <pubDate>Fri, 26 Aug 2022 02:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Case-statement-using-proc-SQL-with-missing-function/m-p/830463#M328152</guid>
      <dc:creator>Akshaya_1397</dc:creator>
      <dc:date>2022-08-26T02:30:54Z</dc:date>
    </item>
  </channel>
</rss>

