<?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: How to run certain lines of SAS Code in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/How-to-run-certain-lines-of-SAS-Code/m-p/675881#M9340</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338208"&gt;@Tim_sas_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default, you can run the whole program or just the selected piece of code. You can run the specific lines of code if you enclose them in a macro and call it from somewhere.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Aug 2020 11:33:59 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2020-08-11T11:33:59Z</dc:date>
    <item>
      <title>How to run certain lines of SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-run-certain-lines-of-SAS-Code/m-p/675849#M9339</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a very basic question (hope you are not laughing at me :D).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written a SAS code and I would like to select e.g. rows 10.000 - 20.000 to run the program in SAS University Edition. Of course, I could just select the relevant lines what takes some time. Is there a more convenient way to do this in SAS (e.g. I have not found an option where I can type in which lines I would like to select)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 09:05:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-run-certain-lines-of-SAS-Code/m-p/675849#M9339</guid>
      <dc:creator>Tim_sas_</dc:creator>
      <dc:date>2020-08-11T09:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to run certain lines of SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-run-certain-lines-of-SAS-Code/m-p/675881#M9340</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338208"&gt;@Tim_sas_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default, you can run the whole program or just the selected piece of code. You can run the specific lines of code if you enclose them in a macro and call it from somewhere.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 11:33:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-run-certain-lines-of-SAS-Code/m-p/675881#M9340</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-08-11T11:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to run certain lines of SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-run-certain-lines-of-SAS-Code/m-p/675893#M9341</link>
      <description>&lt;P&gt;SAS/Studio is GUI interface to run SAS programs.&amp;nbsp; It allows you to highlight code in the editor window and submit it to SAS to run.&amp;nbsp; That works great for selecting lines 10 to 20 in a program.&amp;nbsp; But if you want to run 10 thousand lines of code then don't use a GUI tool.&amp;nbsp; Instead write a program.&lt;/P&gt;
&lt;P&gt;For example this program will read lines 10,000 to 20,000 from myprogram.sas and copy them to temporary file and then run the temporary file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename subset temp;
data _null_;
   infile 'myprogram.sas'  firstobs=10000 obs=20000 ;
  file subset;
  input;
  put _infile_;
run;
%include subset;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Aug 2020 12:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-run-certain-lines-of-SAS-Code/m-p/675893#M9341</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-08-11T12:26:20Z</dc:date>
    </item>
  </channel>
</rss>

