<?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: how do get  missing  value of a order var  in the proc report in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9229#M595</link>
    <description>thanks a lot Cynthia and Mike,&lt;BR /&gt;
It helps a lot.&lt;BR /&gt;
&lt;BR /&gt;
Thank  again.&lt;BR /&gt;
&lt;BR /&gt;
regards &lt;BR /&gt;
&lt;BR /&gt;
Inp</description>
    <pubDate>Thu, 30 Sep 2010 14:11:47 GMT</pubDate>
    <dc:creator>Inp</dc:creator>
    <dc:date>2010-09-30T14:11:47Z</dc:date>
    <item>
      <title>how do get  missing  value of a order var  in the proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9226#M592</link>
      <description>Hi Dear,&lt;BR /&gt;
Here is my coding. I am expecting s value of var x and missing value of y in the report. When I run the below codiing , I get  value 'a' of x  but the  value 's' of x. can you please let me if there any options that I can put to get this value in my proc report. I am using SAS 9.2 in Windows XP&lt;BR /&gt;
&lt;BR /&gt;
data temp;&lt;BR /&gt;
input @1 x $1. @2 y $1. @3 z 1.;&lt;BR /&gt;
cards;&lt;BR /&gt;
ab1&lt;BR /&gt;
ab2&lt;BR /&gt;
ac1&lt;BR /&gt;
ac2&lt;BR /&gt;
s 3&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
options missing;&lt;BR /&gt;
proc report data=temp nowd;&lt;BR /&gt;
column x y z;&lt;BR /&gt;
define x / order;&lt;BR /&gt;
define y / order;&lt;BR /&gt;
define z / analysis;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
here is my output; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
 x  y          z&lt;BR /&gt;
 a  b          1&lt;BR /&gt;
                 2&lt;BR /&gt;
     c          1&lt;BR /&gt;
                 2&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help in advance.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Inp</description>
      <pubDate>Wed, 29 Sep 2010 21:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9226#M592</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2010-09-29T21:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: how do get  missing  value of a order var  in the proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9227#M593</link>
      <description>How about...&lt;BR /&gt;
&lt;BR /&gt;
proc report data=temp nowd missing;&lt;BR /&gt;
column x y z;&lt;BR /&gt;
define x / order;&lt;BR /&gt;
define y / order;&lt;BR /&gt;
define z / analysis;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 29 Sep 2010 21:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9227#M593</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-29T21:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: how do get  missing  value of a order var  in the proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9228#M594</link>
      <description>Hi:&lt;BR /&gt;
  It seems that you are confusing the SAS System Option MISSING with a different option. Your syntax should be showing you an ERROR message in the SAS log:&lt;BR /&gt;
[pre]&lt;BR /&gt;
2944  options missing;&lt;BR /&gt;
              -------&lt;BR /&gt;
              26&lt;BR /&gt;
ERROR 26-12: Expect an equal sign and value to follow SAS option MISSING.&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                        &lt;BR /&gt;
What SAS means by the error message is that the correct syntax for the option is:&lt;BR /&gt;
&lt;B&gt;OPTIONS MISSING=' '; &lt;/B&gt;&lt;BR /&gt;
 &lt;BR /&gt;
which would replace the normal . (period) for missing numeric values with a blank or space character.&lt;BR /&gt;
 &lt;BR /&gt;
To have PROC REPORT reveal the missing values of GROUP or ORDER variables, you can use the MISSING option either on the PROC REPORT statement or the DEFINE statement:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc report data=.... nowd missing;&lt;BR /&gt;
OR&lt;BR /&gt;
define varname / ORDER missing;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
The PROC REPORT MISSING option is working with missing GROUP or ORDER variables -- not missing numeric variable values, such as those used for summarizing (which would be affected by the system option).&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 29 Sep 2010 21:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9228#M594</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-29T21:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: how do get  missing  value of a order var  in the proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9229#M595</link>
      <description>thanks a lot Cynthia and Mike,&lt;BR /&gt;
It helps a lot.&lt;BR /&gt;
&lt;BR /&gt;
Thank  again.&lt;BR /&gt;
&lt;BR /&gt;
regards &lt;BR /&gt;
&lt;BR /&gt;
Inp</description>
      <pubDate>Thu, 30 Sep 2010 14:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-do-get-missing-value-of-a-order-var-in-the-proc-report/m-p/9229#M595</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2010-09-30T14:11:47Z</dc:date>
    </item>
  </channel>
</rss>

