<?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: Determine current set of allowed characters to represent special missing values on input in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774827#M246292</link>
    <description>&lt;P&gt;IMO, the MISSING statement should be deprecated and replaced by an INMISSING option.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 07:10:52 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-10-18T07:10:52Z</dc:date>
    <item>
      <title>Determine current set of allowed characters to represent special missing values on input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774783#M246272</link>
      <description>&lt;P&gt;Does anyone know whether SAS store the current setting created by using the MISSING statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lestmtsglobal/n0ewjmosjtyjbtn1t5zabfkrof4f.htm#:~:text=Use%20the%20MISSING%20statement%20to,than%20invalid%20numeric%20data%20values%3A&amp;amp;text=The%20resulting%20data%20set%20SURVEY,coded%20in%20the%20input%20data." target="_self"&gt;MISSING statement&lt;/A&gt; is different than the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/n0qamf3yfjtwzhn1ran6xwblnlea.htm" target="_self"&gt;MISSING= option&lt;/A&gt;.&amp;nbsp; Then MISSING= option controls how missing values are displayed. You can use the GETOPTION() function to retrieve the current setting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The MISSING statement determines which single letter text strings numeric inputs will treat as representing the corresponding special missing value.&amp;nbsp; So using:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;missing AB ;
input num ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Will read "A" and "B" as meaning .A and .B, but treat "C" and "D" as invalid values that generate an error.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 01:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774783#M246272</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-10-18T01:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Determine current set of allowed characters to represent special missing values on input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774785#M246273</link>
      <description>&lt;P&gt;If SAS does not store this somewhere that can be retrieved here is a data step than can create a macro variable with the list.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  missing='_ABCDEFGHIJKLMNOPQRSTUVWXYZ';
  do i=1 to 27;
    if .=input(char(missing,i),??1.) then substr(missing,i,1)=' ';
  end;
  call symputx('missing',compress(missing));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;2681   missing azybc;
2682   data _null_;
2683     missing='_ABCDEFGHIJKLMNOPQRSTUVWXYZ';
2684     do i=1 to 27;
2685       if .=input(char(missing,i),??1.) then substr(missing,i,1)=' ';
2686     end;
2687     call symputx('missing',compress(missing));
2688   run;

NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds


2689
2690   %put &amp;amp;=missing;
MISSING=ABCYZ
&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Oct 2021 02:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774785#M246273</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-10-18T02:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Determine current set of allowed characters to represent special missing values on input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774820#M246285</link>
      <description>&lt;P&gt;Interesting, the missing statement "is global in scope" (the docs say so), but it seems that there is no view in sashelp storing the value. For other global statements, like title, filename, ... views exist. Seems as someone forgot to implement this, or i need to look closer.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 06:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774820#M246285</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-10-18T06:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Determine current set of allowed characters to represent special missing values on input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774827#M246292</link>
      <description>&lt;P&gt;IMO, the MISSING statement should be deprecated and replaced by an INMISSING option.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 07:10:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774827#M246292</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-10-18T07:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Determine current set of allowed characters to represent special missing values on input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774830#M246295</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;IMO, the MISSING statement should be deprecated and replaced by an INMISSING option.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, but the "inmissing" option is no in the docs and at with m5 i get&lt;/P&gt;
&lt;PRE id="pre_sasLog_88" class="sasLog" style="background-color: transparent; -webkit-user-select: text; -webkit-user-modify: read-only; -webkit-touch-callout: default; border-top-width: 0px; border-bottom-width: 0px;"&gt; ERROR 13-12: Unrecognized SAS option name INMISSING.&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Oct 2021 07:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774830#M246295</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-10-18T07:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Determine current set of allowed characters to represent special missing values on input</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774833#M246297</link>
      <description>&lt;P&gt;That's why I said&amp;nbsp;&lt;EM&gt;an&lt;/EM&gt; INMISSING option, and not&amp;nbsp;&lt;EM&gt;the&lt;/EM&gt; INMISSING option. Such an option would need to be created. I should have written "replaced by a future INMISSING option" for clarity.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 07:27:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determine-current-set-of-allowed-characters-to-represent-special/m-p/774833#M246297</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-10-18T07:27:20Z</dc:date>
    </item>
  </channel>
</rss>

