<?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: Generating hundreds of Jpeg or png  graph pictures while running proc rank or proc reg in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723180#M224370</link>
    <description>&lt;P&gt;Thanks. It worked. Thanks for the macro.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 15:40:55 GMT</pubDate>
    <dc:creator>SASuserlot</dc:creator>
    <dc:date>2021-03-03T15:40:55Z</dc:date>
    <item>
      <title>Generating hundreds of Jpeg or png  graph pictures while running proc rank or proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723149#M224353</link>
      <description>&lt;P&gt;I am running the proc rank and proc reg procedures. However it generating the 100's pictures&amp;nbsp; of plots based on my macro . These pictures are saving the same location where my program saved. Is there any way I can avoid this? Is&amp;nbsp; "ods listing" causing this? I am giving my generalized code. please let me. Thanks.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; ods listing;
proc rank data=bytrt(where=(trtan in (&amp;amp;num,5))) out=out&amp;amp;num;
     by lbtestcd &amp;amp;extraby;
     where safepop=1 &amp;amp; 
           lbcfb^=. &amp;amp; lbbase^=. &amp;amp; lbendfl=1  
           ;
     var LBCFB LBBASE;
     ranks KLBCFB KLBBASE;
   run;
   
   proc reg data=OUT&amp;amp;num(where=(trtan in (&amp;amp;num,5)));
   where safepop=1 &amp;amp;) &amp;amp; 
         lbcfb^=. &amp;amp; lbbase^=. &amp;amp; lbendfl=1 ;
     by lbtestcd &amp;amp;extraby;
     model KLBCFB = KLBBASE;
     output out=RESIDUAL&amp;amp;num r=RESID;
   run;
  ods listing close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Mar 2021 14:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723149#M224353</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-03-03T14:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generating hundreds of Jpeg or png  graph pictures while running proc rank or proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723165#M224359</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/350312"&gt;@SASuserlot&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First I would add:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For a few more things that can be suppressed in order to avoid clutter (and reduce run time) see Rick Wicklin's little macro &lt;FONT face="courier new,courier"&gt;ODSOff&lt;/FONT&gt; in&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/how-slow-would-the-TTest-procedure-be/m-p/489090/highlight/true#M127590" target="_self"&gt;Re: how slow would the TTest procedure be ?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 15:08:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723165#M224359</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-03-03T15:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Generating hundreds of Jpeg or png  graph pictures while running proc rank or proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723171#M224363</link>
      <description>&lt;P&gt;You can also include a PLOTS = NONE option on the PROC REG statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   proc reg data=OUT&amp;amp;num(where=(trtan in (&amp;amp;num,5))) plots = none;
   where safepop=1 &amp;amp;) &amp;amp; 
         lbcfb^=. &amp;amp; lbbase^=. &amp;amp; lbendfl=1;
     by lbtestcd &amp;amp;extraby;
     model KLBCFB = KLBBASE;
     output out=RESIDUAL&amp;amp;num r=RESID;
   run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Looking at your code, though, I'm a bit confused. Seems as though there are some out-of-place parentheses and ampersands. Here's what I'm trying to convey:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data = sashelp.cars plots = none;
	model msrp = cylinders mpg_city mpg_highway;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Mar 2021 15:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723171#M224363</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2021-03-03T15:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generating hundreds of Jpeg or png  graph pictures while running proc rank or proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723179#M224369</link>
      <description>&lt;P&gt;Thanks, it worked. I deleted some code, because it have some project related code. Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 15:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723179#M224369</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-03-03T15:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Generating hundreds of Jpeg or png  graph pictures while running proc rank or proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723180#M224370</link>
      <description>&lt;P&gt;Thanks. It worked. Thanks for the macro.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 15:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Generating-hundreds-of-Jpeg-or-png-graph-pictures-while-running/m-p/723180#M224370</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-03-03T15:40:55Z</dc:date>
    </item>
  </channel>
</rss>

