<?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: Trick for showing program progress in SAS Enterprise Guide in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Trick-for-showing-program-progress-in-SAS-Enterprise-Guide/m-p/235392#M16995</link>
    <description>This is VERY cool.  I do like to see the progress on some of my more complex data steps.  Excellent tip!</description>
    <pubDate>Wed, 18 Nov 2015 21:32:29 GMT</pubDate>
    <dc:creator>nancy88wilson</dc:creator>
    <dc:date>2015-11-18T21:32:29Z</dc:date>
    <item>
      <title>Trick for showing program progress in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Trick-for-showing-program-progress-in-SAS-Enterprise-Guide/m-p/234375#M16943</link>
      <description>&lt;P&gt;A while ago I &lt;A href="http://blogs.sas.com/content/sasdummy/2013/01/30/tracking-progress-with-dosubl/" target="_self"&gt;shared a trick that SAS Enterprise Guide users can use&lt;/A&gt; to show progress of their SAS programs processing in the status area. &amp;nbsp;The trick uses the &lt;A href="http://support.sas.com/resources/papers/.../227-2012.pdf" target="_self"&gt;DOSUBL function&lt;/A&gt;, introduced in SAS 9.3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35335"&gt;@jb_biyectivo﻿&lt;/a&gt;&amp;nbsp;recently submitted a comment with a clever example that shows a "progress bar" style of update. &amp;nbsp;Here's what it looks like when you run it. &amp;nbsp;Note that it features a "bar" that builds with each iteration, and a percentage complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/822iF1DDD374F6BC6E42/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="progress.gif" title="progress.gif" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This method of instrumenting your code might be useful only in certain situations, but I do think it's a neat trick that shows how you can make the software do something that the developers didn't quite imagine. &amp;nbsp;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35335"&gt;@jb_biyectivo﻿&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the code example you can run. &amp;nbsp;You'll need any recent version of SAS Enterprise Guide, running against SAS 9.3 Maint 2 or later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.cars out=sortedcars;
by make;
run;
 
data _null_;
 /* NOBS= captures total records to process */
 set sortedcars nobs=nobs;
 by make;
 if first.make then do;
  rc = dosubl(cat('SYSECHO "Processing CARS: [',
          repeat("*",floor(_N_ /NOBS*10)),
          repeat("_",10-floor(_N_ /NOBS*10)),"] ",
          put(_N_/NOBS, percent.),' / Total: ',
          put(NOBS,comma4.),' obs.";'));
	x=sleep(250,.001);
 end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Nov 2015 13:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Trick-for-showing-program-progress-in-SAS-Enterprise-Guide/m-p/234375#M16943</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-11-12T13:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trick for showing program progress in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Trick-for-showing-program-progress-in-SAS-Enterprise-Guide/m-p/235392#M16995</link>
      <description>This is VERY cool.  I do like to see the progress on some of my more complex data steps.  Excellent tip!</description>
      <pubDate>Wed, 18 Nov 2015 21:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Trick-for-showing-program-progress-in-SAS-Enterprise-Guide/m-p/235392#M16995</guid>
      <dc:creator>nancy88wilson</dc:creator>
      <dc:date>2015-11-18T21:32:29Z</dc:date>
    </item>
  </channel>
</rss>

