<?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 Proc print output missing for DATE in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-output-missing-for-DATE/m-p/586610#M167468</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS. I am trying to produce a table from&amp;nbsp; simple data but the table output is incomplete. In the result viewer, the first column (DATE VAriable) is missing. I have to use the informat command. Can anyone please suggest me why i am not getting the result? Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA PROB_4;&lt;BR /&gt;INPUT DATE 1-10 GENDER $ 11 AGE 12-13 SCORE 14-16;&lt;BR /&gt;INFORMAT DATE mmddyy10.;&lt;BR /&gt;DATALINES;&lt;BR /&gt;04/04/2004M15 90&lt;BR /&gt;05/12/2004F16 95&lt;BR /&gt;07/23/2004M18 88&lt;BR /&gt;01/20/2004F17100&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;BR /&gt;TITLE "Problem 4";&lt;BR /&gt;PROC PRINT DATA= PROB_4;&lt;BR /&gt;FORMAT DATE mmddyy10.;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2019 03:37:05 GMT</pubDate>
    <dc:creator>Stdt</dc:creator>
    <dc:date>2019-09-06T03:37:05Z</dc:date>
    <item>
      <title>Proc print output missing for DATE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-output-missing-for-DATE/m-p/586610#M167468</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS. I am trying to produce a table from&amp;nbsp; simple data but the table output is incomplete. In the result viewer, the first column (DATE VAriable) is missing. I have to use the informat command. Can anyone please suggest me why i am not getting the result? Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA PROB_4;&lt;BR /&gt;INPUT DATE 1-10 GENDER $ 11 AGE 12-13 SCORE 14-16;&lt;BR /&gt;INFORMAT DATE mmddyy10.;&lt;BR /&gt;DATALINES;&lt;BR /&gt;04/04/2004M15 90&lt;BR /&gt;05/12/2004F16 95&lt;BR /&gt;07/23/2004M18 88&lt;BR /&gt;01/20/2004F17100&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;BR /&gt;TITLE "Problem 4";&lt;BR /&gt;PROC PRINT DATA= PROB_4;&lt;BR /&gt;FORMAT DATE mmddyy10.;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 03:37:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-output-missing-for-DATE/m-p/586610#M167468</guid>
      <dc:creator>Stdt</dc:creator>
      <dc:date>2019-09-06T03:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print output missing for DATE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-output-missing-for-DATE/m-p/586612#M167469</link>
      <description>&lt;P&gt;Since you specify the columns, the informat is not used.&lt;/P&gt;
&lt;P&gt;And since you are reading a string into a numeric variable, missing values are generated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;Always look at the LOG. Always!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;NOTE: Invalid data for DATE in line 30 1-10.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;30 04/04/2004M15 90&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;DATE=. GENDER=M AGE=15 SCORE=90 _ERROR_=1 _N_=1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;NOTE: Invalid data for DATE in line 31 1-10.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;31 05/12/2004F16 95&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;DATE=. GENDER=F AGE=16 SCORE=95 _ERROR_=1 _N_=2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;NOTE: Invalid data for DATE in line 32 1-10.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;32 07/23/2004M18 88&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;DATE=. GENDER=M AGE=18 SCORE=88 _ERROR_=1 _N_=3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;NOTE: Invalid data for DATE in line 33 1-10.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;33 01/20/2004F17100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT size="2"&gt;DATE=. GENDER=F AGE=17 SCORE=100 _ERRO&lt;/FONT&gt;R_=1 _N_=4&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 03:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-output-missing-for-DATE/m-p/586612#M167469</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-09-06T03:50:04Z</dc:date>
    </item>
  </channel>
</rss>

