<?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 SAS Sample: Sample 41880 (reading in a directory) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Sample-Sample-41880-reading-in-a-directory/m-p/37869#M7559</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I was looking at a sample SAS code: Sample 41880. It's url is:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/41/880.html" target="_blank"&gt;http://support.sas.com/kb/41/880.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
In the full code tab, there is a line that looks like this (close to the top of the program):&lt;BR /&gt;
if input(substr(line,1,10), ?? mmddyy10.) = . then delete;&lt;BR /&gt;
&lt;BR /&gt;
Can someone tell me what the two question marks do?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.

No worries, it's in the documentation. It suppresses messages for invalid data in case anyone is interested.&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: toucan</description>
    <pubDate>Thu, 24 Mar 2011 15:27:35 GMT</pubDate>
    <dc:creator>toucan</dc:creator>
    <dc:date>2011-03-24T15:27:35Z</dc:date>
    <item>
      <title>SAS Sample: Sample 41880 (reading in a directory)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Sample-Sample-41880-reading-in-a-directory/m-p/37869#M7559</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I was looking at a sample SAS code: Sample 41880. It's url is:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/41/880.html" target="_blank"&gt;http://support.sas.com/kb/41/880.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
In the full code tab, there is a line that looks like this (close to the top of the program):&lt;BR /&gt;
if input(substr(line,1,10), ?? mmddyy10.) = . then delete;&lt;BR /&gt;
&lt;BR /&gt;
Can someone tell me what the two question marks do?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.

No worries, it's in the documentation. It suppresses messages for invalid data in case anyone is interested.&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: toucan</description>
      <pubDate>Thu, 24 Mar 2011 15:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Sample-Sample-41880-reading-in-a-directory/m-p/37869#M7559</guid>
      <dc:creator>toucan</dc:creator>
      <dc:date>2011-03-24T15:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Sample: Sample 41880 (reading in a directory)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Sample-Sample-41880-reading-in-a-directory/m-p/37870#M7560</link>
      <description>You will find an explanation in the SAS Language Dictionary discussion on the INPUT statement processing -- it has to do with how SAS reacts to an invalid-data or missing-data condition for the particular INFORMAT being used.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
input informat question mark site:sas.com</description>
      <pubDate>Thu, 24 Mar 2011 16:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Sample-Sample-41880-reading-in-a-directory/m-p/37870#M7560</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-03-24T16:24:24Z</dc:date>
    </item>
  </channel>
</rss>

