<?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: format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/format/m-p/616678#M180563</link>
    <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/301371"&gt;@souji&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You just need to use the date9. Format instead of the &lt;SPAN&gt;yymmddd10. format&lt;/SPAN&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format Ship_date date9.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 11 Jan 2020 13:36:43 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-01-11T13:36:43Z</dc:date>
    <item>
      <title>format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/format/m-p/616677#M180562</link>
      <description>&lt;P&gt;Hi,&amp;nbsp; am I doing anything wrong here since Ship_data is not coming same&amp;nbsp;as like (02FEB2009) in output. please correct my code&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; work.put123;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;length&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Order_Id &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;6&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; Customer $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;15&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; Ship_date &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; Order_Id &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;5.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;7&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; Customer &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;$12.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;20&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; Ship_date &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;date9.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Ship_date &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;yymmddd10.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;9341&amp;nbsp;&amp;nbsp;&amp;nbsp; Josh Martin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;02FEB2009&lt;/P&gt;
&lt;P&gt;9874&amp;nbsp;&amp;nbsp;&amp;nbsp; Rachel Lords&amp;nbsp; 14MAR2009&lt;/P&gt;
&lt;P&gt;10233&amp;nbsp; Takashi Sato&amp;nbsp;&amp;nbsp; 07JUL2009&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2020 13:29:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/format/m-p/616677#M180562</guid>
      <dc:creator>souji</dc:creator>
      <dc:date>2020-01-11T13:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/format/m-p/616678#M180563</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/301371"&gt;@souji&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You just need to use the date9. Format instead of the &lt;SPAN&gt;yymmddd10. format&lt;/SPAN&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format Ship_date date9.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 11 Jan 2020 13:36:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/format/m-p/616678#M180563</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-01-11T13:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/format/m-p/616682#M180564</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2020 14:27:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/format/m-p/616682#M180564</guid>
      <dc:creator>souji</dc:creator>
      <dc:date>2020-01-11T14:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/format/m-p/616685#M180567</link>
      <description>&lt;P&gt;Simply apply the Date9 format instead&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data work.put123;
length Order_Id 6 Customer $15 Ship_date 8;
input @1 Order_Id 5. @7 Customer $12. @20 Ship_date date9.;
format Ship_date date9.;
datalines;
9341  Josh Martin  02FEB2009
9874  Rachel Lords 14MAR2009
10233 Takashi Sato 07JUL2009
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 11 Jan 2020 14:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/format/m-p/616685#M180567</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-01-11T14:57:38Z</dc:date>
    </item>
  </channel>
</rss>

