<?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 SAS Output - HTML vs Temporary Table Format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Output-HTML-vs-Temporary-Table-Format/m-p/504143#M134873</link>
    <description>&lt;P&gt;I am just starting out on my journey with SAS and am a bit confused about some SAS output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run this following code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA dates;&lt;BR /&gt;INPUT name$ bday date11.;&lt;BR /&gt;CARDS;&lt;BR /&gt;Sam 3 Jan 1960&lt;BR /&gt;George&amp;nbsp;12 Jul 1980&lt;BR /&gt;Lisa 14 feb 1975&lt;BR /&gt;Sean 14 feb 1975&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;PROC PRINT DATA=dates;&lt;BR /&gt;FORMAT bday date9.;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And notice that there is basically two outputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One output is the temporary data table. With this output, I am seeing the 'bday' column showing dates in a pure numeric format (SAS date format).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whereas I also see the HTML output is displaying the 'bday' column with the dates as 03JAN1960 for example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just curious, why there seems to be two different outputs?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 14 Oct 2018 22:57:50 GMT</pubDate>
    <dc:creator>rodneyc8063</dc:creator>
    <dc:date>2018-10-14T22:57:50Z</dc:date>
    <item>
      <title>SAS Output - HTML vs Temporary Table Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Output-HTML-vs-Temporary-Table-Format/m-p/504143#M134873</link>
      <description>&lt;P&gt;I am just starting out on my journey with SAS and am a bit confused about some SAS output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run this following code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA dates;&lt;BR /&gt;INPUT name$ bday date11.;&lt;BR /&gt;CARDS;&lt;BR /&gt;Sam 3 Jan 1960&lt;BR /&gt;George&amp;nbsp;12 Jul 1980&lt;BR /&gt;Lisa 14 feb 1975&lt;BR /&gt;Sean 14 feb 1975&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;PROC PRINT DATA=dates;&lt;BR /&gt;FORMAT bday date9.;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And notice that there is basically two outputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One output is the temporary data table. With this output, I am seeing the 'bday' column showing dates in a pure numeric format (SAS date format).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whereas I also see the HTML output is displaying the 'bday' column with the dates as 03JAN1960 for example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just curious, why there seems to be two different outputs?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 22:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Output-HTML-vs-Temporary-Table-Format/m-p/504143#M134873</guid>
      <dc:creator>rodneyc8063</dc:creator>
      <dc:date>2018-10-14T22:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Output - HTML vs Temporary Table Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Output-HTML-vs-Temporary-Table-Format/m-p/504145#M134874</link>
      <description>&lt;P&gt;In the &amp;nbsp;PRINT step you have a FORMAT statement. That controls the appearance of the date variable and shows it as a date, with the Date9 format. If you put the format int he data set, which you can, then it does it automatically, note the changes below and check the output. FORMATS are used to control the appearance of a variable WITHOUT changing the underlying value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DATA dates;
INPUT name$ bday date11.;
&lt;FONT size="4" color="#800080"&gt;&lt;STRONG&gt;format bday yymmddd10.;&lt;/STRONG&gt;&lt;/FONT&gt;
CARDS;
Sam 3 Jan 1960
George 12 Jul 1980
Lisa 14 feb 1975
Sean 14 feb 1975
;
RUN;
PROC PRINT DATA=dates;
&lt;FONT size="4" color="#339966"&gt;&lt;STRONG&gt;*FORMAT bday date9.;&lt;/STRONG&gt;&lt;/FONT&gt;
RUN;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240357"&gt;@rodneyc8063&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am just starting out on my journey with SAS and am a bit confused about some SAS output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run this following code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA dates;&lt;BR /&gt;INPUT name$ bday date11.;&lt;BR /&gt;CARDS;&lt;BR /&gt;Sam 3 Jan 1960&lt;BR /&gt;George&amp;nbsp;12 Jul 1980&lt;BR /&gt;Lisa 14 feb 1975&lt;BR /&gt;Sean 14 feb 1975&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;PROC PRINT DATA=dates;&lt;BR /&gt;FORMAT bday date9.;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And notice that there is basically two outputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One output is the temporary data table. With this output, I am seeing the 'bday' column showing dates in a pure numeric format (SAS date format).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whereas I also see the HTML output is displaying the 'bday' column with the dates as 03JAN1960 for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am just curious, why there seems to be two different outputs?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 23:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Output-HTML-vs-Temporary-Table-Format/m-p/504145#M134874</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-14T23:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Output - HTML vs Temporary Table Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Output-HTML-vs-Temporary-Table-Format/m-p/504418#M134982</link>
      <description>Thanks very much for clarifying that!</description>
      <pubDate>Mon, 15 Oct 2018 18:17:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Output-HTML-vs-Temporary-Table-Format/m-p/504418#M134982</guid>
      <dc:creator>rodneyc8063</dc:creator>
      <dc:date>2018-10-15T18:17:21Z</dc:date>
    </item>
  </channel>
</rss>

