<?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: What is difference &amp;quot;?&amp;quot; using in PUT &amp;amp; INPUT function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549591#M152512</link>
    <description>&lt;P&gt;The &lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p19en16vskd2vhn1vwmxpxnglxxs.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;INPUT Function Documentation&lt;/A&gt; says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="xis-argument"&gt;&lt;EM&gt;&lt;STRONG&gt;? or ??&lt;/STRONG&gt;&lt;/EM&gt;&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;&lt;EM&gt;&lt;STRONG&gt;specifies the optional question mark (?) and double question mark (??) modifiers that suppress the printing of notes and input lines when invalid data values are read. The ? modifier suppresses the invalid data message. The ?? modifier suppresses the invalid data message and prevents the automatic variable _ERROR_ from being set to 1 when invalid data is read.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 09 Apr 2019 13:35:59 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-04-09T13:35:59Z</dc:date>
    <item>
      <title>What is difference "?" using in PUT &amp; INPUT function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549574#M152503</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using PUT &amp;amp; INPUT function so long and using below like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xx=put(aa,?best.)&lt;/P&gt;
&lt;P&gt;zz=input(bb,??best.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May i know why we are using "?" in put &amp;amp; input function and what is difference with out "?" and with "?"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 13:04:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549574#M152503</guid>
      <dc:creator>RajasekharReddy</dc:creator>
      <dc:date>2019-04-09T13:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is difference "?" using in PUT &amp; INPUT function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549578#M152506</link>
      <description>&lt;P&gt;&lt;A href="https://v8doc.sas.com/sashtml/lgref/z0180357.htm" target="_blank"&gt;https://v8doc.sas.com/sashtml/lgref/z0180357.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 13:19:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549578#M152506</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-09T13:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: What is difference "?" using in PUT &amp; INPUT function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549591#M152512</link>
      <description>&lt;P&gt;The &lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p19en16vskd2vhn1vwmxpxnglxxs.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;INPUT Function Documentation&lt;/A&gt; says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="xis-argument"&gt;&lt;EM&gt;&lt;STRONG&gt;? or ??&lt;/STRONG&gt;&lt;/EM&gt;&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;&lt;EM&gt;&lt;STRONG&gt;specifies the optional question mark (?) and double question mark (??) modifiers that suppress the printing of notes and input lines when invalid data values are read. The ? modifier suppresses the invalid data message. The ?? modifier suppresses the invalid data message and prevents the automatic variable _ERROR_ from being set to 1 when invalid data is read.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Apr 2019 13:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549591#M152512</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-04-09T13:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is difference "?" using in PUT &amp; INPUT function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549663#M152546</link>
      <description>&lt;P&gt;An example use case: Data being read has a date field in mm/dd/yyyy format &lt;STRONG&gt;but&lt;/STRONG&gt; missing values where the data was not recorded are represented by 99/99/9999.&lt;/P&gt;
&lt;P&gt;Since you know that values will be invalid dates and actually represent missing data when the values are read you will be okay with SAS variables with missing values but you may not want to wade through a bunch of junk in the log for a know data issue. So a data step to read the example data uses the ?? modifier as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data example;
   input x ??mmddyy10.;
   format x mmddyy10.;
datalines;
01/01/2019
99/99/9999
;
run;&lt;/PRE&gt;
&lt;P&gt;remove the ?? and replace with either a single ? or nothing to see the different behaviors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reading a field that should be numeric but sometimes has NA or other not entered or not available code would be another similar use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 15:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-difference-quot-quot-using-in-PUT-amp-INPUT-function/m-p/549663#M152546</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-09T15:33:54Z</dc:date>
    </item>
  </channel>
</rss>

