<?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 Change Behaviour of Suppressing Invalid Data Message Between SAS9.4M5 and M8 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-Behaviour-of-Suppressing-Invalid-Data-Message-Between/m-p/886594#M27020</link>
    <description>&lt;P&gt;We are doing SAS9 migration from M5 to M8. We noticed that in running the same program code with the INPUT function. The data feeding input line from file to variables contains an error, the error contents will not output to the program log in M5 but it will on the M8 system. We need to put '??' to suppress the error message printing to prevent dumping user data to the program log directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;BR /&gt;5583 select&lt;BR /&gt;5584 cat('(' ,start, '&amp;lt;=' ,'input(&amp;amp;&amp;amp;OLDVAR&amp;amp;i.,?? anydtdtm.)', '&amp;lt; ',end,')') into : BST_Date_Check separated by ' or '&lt;BR /&gt;5585 from fmt&lt;BR /&gt;5586 where start ne .&lt;BR /&gt;5587 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From SAS document (Ref: &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p19en16vskd2vhn1vwmxpxnglxxs.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p19en16vskd2vhn1vwmxpxnglxxs.htm)&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;INPUT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p19en16vskd2vhn1vwmxpxnglxxs.htm#p0sle4a2cvrbk3n1g9j8hb5ur3px" target="_blank" rel="noopener"&gt;source&lt;/A&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;?&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;| ??&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p19en16vskd2vhn1vwmxpxnglxxs.htm#p04br22krqb3edn1qlr7bf5vj8fm" target="_blank" rel="noopener"&gt;informat&lt;/A&gt;&lt;/EM&gt;&lt;SPAN&gt;.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;? or ??&lt;/P&gt;&lt;DIV class=""&gt;&lt;P class=""&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;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;1. Are there any SAS Options that can help suppress the printing behaviour? We are suspecting there are options preset on the M5 system but I have compared the full options list but have not identified any major differences.&lt;/P&gt;&lt;P&gt;2. Is it a behaviour change in M8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your sharing.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 08:18:43 GMT</pubDate>
    <dc:creator>eddieleung305</dc:creator>
    <dc:date>2023-07-27T08:18:43Z</dc:date>
    <item>
      <title>Change Behaviour of Suppressing Invalid Data Message Between SAS9.4M5 and M8</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-Behaviour-of-Suppressing-Invalid-Data-Message-Between/m-p/886594#M27020</link>
      <description>&lt;P&gt;We are doing SAS9 migration from M5 to M8. We noticed that in running the same program code with the INPUT function. The data feeding input line from file to variables contains an error, the error contents will not output to the program log in M5 but it will on the M8 system. We need to put '??' to suppress the error message printing to prevent dumping user data to the program log directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;BR /&gt;5583 select&lt;BR /&gt;5584 cat('(' ,start, '&amp;lt;=' ,'input(&amp;amp;&amp;amp;OLDVAR&amp;amp;i.,?? anydtdtm.)', '&amp;lt; ',end,')') into : BST_Date_Check separated by ' or '&lt;BR /&gt;5585 from fmt&lt;BR /&gt;5586 where start ne .&lt;BR /&gt;5587 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From SAS document (Ref: &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p19en16vskd2vhn1vwmxpxnglxxs.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p19en16vskd2vhn1vwmxpxnglxxs.htm)&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;INPUT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p19en16vskd2vhn1vwmxpxnglxxs.htm#p0sle4a2cvrbk3n1g9j8hb5ur3px" target="_blank" rel="noopener"&gt;source&lt;/A&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;?&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;| ??&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p19en16vskd2vhn1vwmxpxnglxxs.htm#p04br22krqb3edn1qlr7bf5vj8fm" target="_blank" rel="noopener"&gt;informat&lt;/A&gt;&lt;/EM&gt;&lt;SPAN&gt;.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;? or ??&lt;/P&gt;&lt;DIV class=""&gt;&lt;P class=""&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;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;1. Are there any SAS Options that can help suppress the printing behaviour? We are suspecting there are options preset on the M5 system but I have compared the full options list but have not identified any major differences.&lt;/P&gt;&lt;P&gt;2. Is it a behaviour change in M8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your sharing.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 08:18:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-Behaviour-of-Suppressing-Invalid-Data-Message-Between/m-p/886594#M27020</guid>
      <dc:creator>eddieleung305</dc:creator>
      <dc:date>2023-07-27T08:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change Behaviour of Suppressing Invalid Data Message Between SAS9.4M5 and M8</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-Behaviour-of-Suppressing-Invalid-Data-Message-Between/m-p/886756#M27035</link>
      <description>&lt;P&gt;I would regard this behaviour as a bug fix. M5 should have put an invalid data message in the log but didn't while M8 correctly puts it in. I've encountered similar issues with SAS upgrades and I'd rather error-trapping behaviour is corrected rather than leaving the bug so as to be compatible with M5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are about to start an M8 upgrade ourselves and I am in no doubt that we will find this and other "code-tightening" issues...&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 04:44:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-Behaviour-of-Suppressing-Invalid-Data-Message-Between/m-p/886756#M27035</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-07-28T04:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change Behaviour of Suppressing Invalid Data Message Between SAS9.4M5 and M8</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-Behaviour-of-Suppressing-Invalid-Data-Message-Between/m-p/886838#M27043</link>
      <description>&lt;P&gt;Agree, this seems like a bug fix.&amp;nbsp; Perhaps related to:&amp;nbsp;&lt;A href="https://support.sas.com/kb/68/071.html" target="_blank"&gt;https://support.sas.com/kb/68/071.html&lt;/A&gt;&amp;nbsp;.&amp;nbsp; When INPUT reads data and the informat can't handle the value, it's supposed to throw an error (unless you have suppressed the error with ??).&amp;nbsp; This error-less log is shocking to me (9.4M7):&lt;/P&gt;
&lt;PRE&gt;1    data try ;
2     x=input('foo',anydtdtm.) ;
3     put x= ;
4    run ;

x=.
NOTE: The data set WORK.TRY has 1 observations and 1 variables.
&lt;/PRE&gt;
&lt;P&gt;So if you're saying that throws an error in M8, I'd say that's a fix to some bizarre thing anydtdtm was doing to 'eat' the invalid data and return a missing value.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 16:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-Behaviour-of-Suppressing-Invalid-Data-Message-Between/m-p/886838#M27043</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-07-28T16:41:45Z</dc:date>
    </item>
  </channel>
</rss>

