<?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: Why a works but b not? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Why-a-works-but-b-not/m-p/83218#M23872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ... the data step ends with that semi-colon after the cards value(s).&amp;nbsp; Look at the LOG ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14&amp;nbsp;&amp;nbsp; format dt date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 180&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's telling you that the FORMAT statement does not belong there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you do not need that RUN statement after a CARDS (or DATALINES) file ,,, the semi-colon is enough to end the data step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2012 20:01:23 GMT</pubDate>
    <dc:creator>MikeZdeb</dc:creator>
    <dc:date>2012-04-13T20:01:23Z</dc:date>
    <item>
      <title>Why a works but b not?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-a-works-but-b-not/m-p/83217#M23871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why a works but b not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data a;&lt;/P&gt;&lt;P&gt;input dt mmddyy10.;&lt;/P&gt;&lt;P&gt;format dt date9.;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;05/07/1953&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data b;&lt;/P&gt;&lt;P&gt;input dt mmddyy10.;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;05/07/1953&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;format dt date9.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 19:38:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-a-works-but-b-not/m-p/83217#M23871</guid>
      <dc:creator>George_S</dc:creator>
      <dc:date>2012-04-13T19:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why a works but b not?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-a-works-but-b-not/m-p/83218#M23872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ... the data step ends with that semi-colon after the cards value(s).&amp;nbsp; Look at the LOG ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14&amp;nbsp;&amp;nbsp; format dt date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 180&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's telling you that the FORMAT statement does not belong there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you do not need that RUN statement after a CARDS (or DATALINES) file ,,, the semi-colon is enough to end the data step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 20:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-a-works-but-b-not/m-p/83218#M23872</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-04-13T20:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why a works but b not?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-a-works-but-b-not/m-p/83219#M23873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because nothing after the last line of the cards/dataline statement are processed.&lt;/P&gt;&lt;P&gt;Think of that last semi-colon (;) as an output statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 20:02:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-a-works-but-b-not/m-p/83219#M23873</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-04-13T20:02:48Z</dc:date>
    </item>
  </channel>
</rss>

