<?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: DATE9. Formatting Not Working With Manually Created Dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304260#M60824</link>
    <description>&lt;P&gt;What does the $ imply in the input statement?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remove it for starters.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2016 06:26:39 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-10-13T06:26:39Z</dc:date>
    <item>
      <title>DATE9. Formatting Not Working With Manually Created Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304254#M60823</link>
      <description>&lt;P&gt;I am making a mock data set. It doesn't like read in the dates.&lt;BR /&gt;&lt;BR /&gt;Here is the first few lines with the first row:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; mockdata;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; LINK_I CARDNMBR DATE $ &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;Date9.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; ACTIVE DELQs;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1 1 30JUN2014 1 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;In the output, it cuts off the last digit and gives 30JUN201&amp;nbsp; and it considers it a charater, not a date &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 06:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304254#M60823</guid>
      <dc:creator>random1</dc:creator>
      <dc:date>2016-10-13T06:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: DATE9. Formatting Not Working With Manually Created Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304260#M60824</link>
      <description>&lt;P&gt;What does the $ imply in the input statement?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remove it for starters.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 06:26:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304260#M60824</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-13T06:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: DATE9. Formatting Not Working With Manually Created Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304263#M60825</link>
      <description>&lt;P&gt;I thought you had to put that after a variable name to say its a character.&lt;BR /&gt;&lt;BR /&gt;If I remove $&amp;nbsp; i.e. have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; mockdata;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; LINK_I CARDNMBR DATE &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;Date9.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; ACTIVE DELQs;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1 1 30JUN2014 1 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;then the date value for first row is 19904. I don't want it to show as a number of days since 1960. I just want it to show as 30JUN2014.&lt;BR /&gt;&lt;BR /&gt;If I remove "Date9." i.e. :&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; mockdata;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; LINK_I CARDNMBR DATE&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; ACTIVE DELQs;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;then the whole date column shows as missings (has ".")&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 06:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304263#M60825</guid>
      <dc:creator>random1</dc:creator>
      <dc:date>2016-10-13T06:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: DATE9. Formatting Not Working With Manually Created Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304266#M60826</link>
      <description>&lt;P&gt;Using a date informat does not automatically assign a display format to a variable; so you need a separate&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format date date9.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;statement.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 06:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304266#M60826</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-13T06:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: DATE9. Formatting Not Working With Manually Created Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304279#M60827</link>
      <description>&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; mockdata;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;input&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; LINK_I CARDNMBR DATE :&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;Date9.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; ACTIVE DELQs;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;format date date9.;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;datalines&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;1 1 30JUN2014 1 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 08:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304279#M60827</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-10-13T08:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: DATE9. Formatting Not Working With Manually Created Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304492#M60840</link>
      <description>&lt;P&gt;Thanks. This works.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 22:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DATE9-Formatting-Not-Working-With-Manually-Created-Dataset/m-p/304492#M60840</guid>
      <dc:creator>random1</dc:creator>
      <dc:date>2016-10-13T22:21:53Z</dc:date>
    </item>
  </channel>
</rss>

