<?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 Is it true we need QUIT statement for PROC DATASETS procedure rather than RUN? If so then why? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474752#M122023</link>
    <description>&lt;P&gt;&amp;nbsp;Can someone please explain?&lt;/P&gt;</description>
    <pubDate>Sun, 01 Jul 2018 09:21:45 GMT</pubDate>
    <dc:creator>pjpnk</dc:creator>
    <dc:date>2018-07-01T09:21:45Z</dc:date>
    <item>
      <title>Is it true we need QUIT statement for PROC DATASETS procedure rather than RUN? If so then why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474752#M122023</link>
      <description>&lt;P&gt;&amp;nbsp;Can someone please explain?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jul 2018 09:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474752#M122023</guid>
      <dc:creator>pjpnk</dc:creator>
      <dc:date>2018-07-01T09:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it true we need QUIT statement for PROC DATASETS procedure rather than RUN? If so then why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474754#M122025</link>
      <description>&lt;P&gt;From the&amp;nbsp;&lt;A href="http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=proc&amp;amp;docsetTarget=p0hvz6mq2yhkq6n19gfz4pkul8rc.htm&amp;amp;locale=de" target="_blank"&gt;documentation&lt;/A&gt;:&lt;/P&gt;
&lt;H3 class="xis-title"&gt;Ending the Procedure&lt;/H3&gt;
&lt;DIV id="p1t6yertfab0r3n1jl5d7w86u00o" class="xis-topicContent"&gt;
&lt;DIV id="n09quaohcggp0fn1p1smm4mv06se" class="xis-paragraph"&gt;To stop the DATASETS procedure, you must issue a QUIT statement, a RUN CANCEL statement, a new PROC statement, or a DATA statement. Submitting a QUIT statement executes any statements that have not executed. Submitting a RUN CANCEL statement cancels any statements that have not executed.&lt;/DIV&gt;
&lt;DIV class="xis-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="xis-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="xis-paragraph"&gt;Also read the paragraph for "Run group processing", as it will give you the important information what a run does in proc datasets, and what it doesn't (end the procedure).&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 01 Jul 2018 10:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474754#M122025</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-07-01T10:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it true we need QUIT statement for PROC DATASETS procedure rather than RUN? If so then why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474912#M122096</link>
      <description>&lt;P&gt;Yes, PROC DATASETS (along with PROC SQL and PROC IML and others) is a fully interactive procedure. That means that statements are executed as they are parsed.&amp;nbsp; This is different from procedures that use interactive "run groups" (such as PROC REG and GLM) in which a RUN statement executes a block of statements. See the section "A RUN statement in a fully interactive procedure" in the article &lt;A href="https://blogs.sas.com/content/iml/2016/07/20/unnecessary-sas-statements.html" target="_self"&gt;"Do you write unnecessary SAS statements?"&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 14:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474912#M122096</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-07-02T14:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it true we need QUIT statement for PROC DATASETS procedure rather than RUN? If so then why?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474920#M122098</link>
      <description>&lt;P&gt;Adding to the answers of&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;, the article &lt;A href="http://support.sas.com/resources/papers/proceedings10/138-2010.pdf" target="_self"&gt;PROC DATASETS; The Swiss Army Knife of SAS® Procedures&lt;/A&gt;&amp;nbsp;is a great introduction to the procedure. Also it contains a section on the syntax and how it is structured with Run Groups.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 14:46:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-true-we-need-QUIT-statement-for-PROC-DATASETS-procedure/m-p/474920#M122098</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-07-02T14:46:58Z</dc:date>
    </item>
  </channel>
</rss>

