<?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: the &amp;quot;??&amp;quot; date format in SAS (??ddmmyy6.) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/the-quot-quot-date-format-in-SAS-ddmmyy6/m-p/49860#M10385</link>
    <description>Refer to SAS 9.2 Language DOC on INPUT function.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/59540/HTML/default/a000180357.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/59540/HTML/default/a000180357.htm&lt;/A&gt;</description>
    <pubDate>Wed, 24 Sep 2008 17:19:52 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2008-09-24T17:19:52Z</dc:date>
    <item>
      <title>the "??" date format in SAS (??ddmmyy6.)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/the-quot-quot-date-format-in-SAS-ddmmyy6/m-p/49859#M10384</link>
      <description>Hi SAS Experts!!!&lt;BR /&gt;
&lt;BR /&gt;
I need your help regarding date format in SAS.&lt;BR /&gt;
&lt;BR /&gt;
I am reading the date field from the file in form of Character and after certian processing, I need to validate if the field is in proper date format (DDMMYY6.)or not.&lt;BR /&gt;
&lt;BR /&gt;
For the above purpose I am using following condition - &lt;BR /&gt;
&lt;BR /&gt;
    if (NOT missing(input(dateField, ddmmyy6.))) then&lt;BR /&gt;
              &lt;FURTHER processing=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
In this case I am getting expected output, but for any invalid date (e.g. 30 Feb) the log file shows a note as - &lt;BR /&gt;
       NOTE: Invalid argument to function INPUT at line 595 column 17.&lt;BR /&gt;
       date_values=300208 valid=0 new_date=. _ERROR_=1 _N_=1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
However when i used the date format  with ?? ( as specified below),  I got the same expected result without any note or warning in log. &lt;BR /&gt;
&lt;BR /&gt;
   if (NOT missing(input(dateField, ??ddmmyy6.))) then&lt;BR /&gt;
              &lt;FURTHER processing=""&gt;&lt;BR /&gt;
&lt;BR /&gt;
The log file was absolutely clean and pretty.&lt;BR /&gt;
&lt;BR /&gt;
I got this "??" format from one of the internet site.&lt;BR /&gt;
&lt;BR /&gt;
I really want to know what difference this ?? stuff makes to the format and if it is safe to use this format.&lt;BR /&gt;
&lt;BR /&gt;
Request you to share the information regarding the usage and significance of this "??" .&lt;BR /&gt;
&lt;BR /&gt;
regards&lt;BR /&gt;
Kapil Agrawal&lt;/FURTHER&gt;&lt;/FURTHER&gt;</description>
      <pubDate>Wed, 24 Sep 2008 16:09:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/the-quot-quot-date-format-in-SAS-ddmmyy6/m-p/49859#M10384</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-24T16:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: the "??" date format in SAS (??ddmmyy6.)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/the-quot-quot-date-format-in-SAS-ddmmyy6/m-p/49860#M10385</link>
      <description>Refer to SAS 9.2 Language DOC on INPUT function.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/59540/HTML/default/a000180357.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/59540/HTML/default/a000180357.htm&lt;/A&gt;</description>
      <pubDate>Wed, 24 Sep 2008 17:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/the-quot-quot-date-format-in-SAS-ddmmyy6/m-p/49860#M10385</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-24T17:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: the "??" date format in SAS (??ddmmyy6.)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/the-quot-quot-date-format-in-SAS-ddmmyy6/m-p/49861#M10386</link>
      <description>Hi Scott.&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much.&lt;BR /&gt;
&lt;BR /&gt;
The link mentioned by you talks exactly same what I was looking for &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thnx a ton!!!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Kapil Agrawal</description>
      <pubDate>Sun, 28 Sep 2008 17:03:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/the-quot-quot-date-format-in-SAS-ddmmyy6/m-p/49861#M10386</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-28T17:03:04Z</dc:date>
    </item>
  </channel>
</rss>

