<?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: Missing values for the last two columns in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Missing-values-for-the-last-two-columns/m-p/440598#M4733</link>
    <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2018 17:36:53 GMT</pubDate>
    <dc:creator>jc3992</dc:creator>
    <dc:date>2018-02-27T17:36:53Z</dc:date>
    <item>
      <title>Missing values for the last two columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Missing-values-for-the-last-two-columns/m-p/440506#M4731</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA fsalesP; 
   INFILE "&amp;amp;dirdata.Flowers_Plus.dat"; 
   INPUT CustID $ @9 SaleDate MMDDYY10. Petunia SnapDragon Marigold; 
   Month = MONTH(SaleDate); 
run; 
 
PROC SORT DATA = fsalesP; 
   BY Month;  
RUN; 
 
TITLE; 
PROC PRINT;RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         data fsalesP;
 74         infile '/folders/myfolders/Flowers_Plus.dat';
 75         input CustID $ @9 Date MMDDYY10. Petunia SnapDragon Marigold;
 76         Month = MONTH(SaleDate);
 77         run;
 
 NOTE: Variable SaleDate is uninitialized.
 NOTE: The infile '/folders/myfolders/Flowers_Plus.dat' is:
       Filename=/folders/myfolders/Flowers_Plus.dat,
       Owner Name=sasdemo,Group Name=sas,
       Access Permission=-rw-rw-r--,
       Last Modified=09Feb2018:21:01:38,
       File Size (bytes)=446
 
 NOTE: 14 records were read from the infile '/folders/myfolders/Flowers_Plus.dat'.
       The minimum record length was 30.
       The maximum record length was 30.
 NOTE: Missing values were generated as a result of performing an operation on missing values.
       Each place is given by: (Number of times) at (Line):(Column).
       14 at 76:9   
 NOTE: The data set WORK.FSALESP has 14 observations and 7 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.01 seconds
       cpu time            0.02 seconds
       
 
 78         
 79         proc sort data=fsalesp;
 80         by Month;
 81         run;
 
 NOTE: There were 14 observations read from the data set WORK.FSALESP.
 NOTE: The data set WORK.FSALESP has 14 observations and 7 variables.
 NOTE: PROCEDURE SORT used (Total process time):
       real time           0.01 seconds
       cpu time            0.01 seconds
       
 
 82         
 83         title;
 84         proc print;
 85         run;
 
 NOTE: There were 14 observations read from the data set WORK.FSALESP.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.11 seconds
       cpu time            0.12 seconds
       
 
 86         
 87         
 88         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 101        &lt;/PRE&gt;&lt;P&gt;Hello evertone,&lt;/P&gt;&lt;P&gt;I ran this code provided by our instructor,&lt;/P&gt;&lt;P&gt;and I did not really understand why there were two missing values for the last two columns,&lt;/P&gt;&lt;P&gt;and what did they mean?&lt;/P&gt;&lt;P&gt;Is there anyone who can help me with this?&lt;/P&gt;&lt;P&gt;Thank you much!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 14:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Missing-values-for-the-last-two-columns/m-p/440506#M4731</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-02-27T14:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Missing values for the last two columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Missing-values-for-the-last-two-columns/m-p/440512#M4732</link>
      <description>&lt;P&gt;The instructor had a small oversight.&amp;nbsp; The INPUT statement creates DATE (not SaleDate).&amp;nbsp; So the calculation for MONTH should be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;month = month(date);&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 14:23:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Missing-values-for-the-last-two-columns/m-p/440512#M4732</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-02-27T14:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Missing values for the last two columns</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Missing-values-for-the-last-two-columns/m-p/440598#M4733</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 17:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Missing-values-for-the-last-two-columns/m-p/440598#M4733</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-02-27T17:36:53Z</dc:date>
    </item>
  </channel>
</rss>

