<?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 SAS EG for production reporting in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1443#M450</link>
    <description>Anyone using EG for production reporting systems?  I'm very interested in any experiences and tips.&lt;BR /&gt;
&lt;BR /&gt;
Specifically, we're seeking to schedule daily, weekly, and hourly jobs on Windows XP server using EG as the primary development and data reviewing process.  We'll have about 1,000 different jobs to run over various schedules.&lt;BR /&gt;
&lt;BR /&gt;
Our data size is relatively small most of the time, 30 seconds and under to run.  Some are larger and take up to 10 minutes.&lt;BR /&gt;
&lt;BR /&gt;
We are most interested in audits, conditional starts (i.e. data occured in a certain range, run job A, otherwise run job B).&lt;BR /&gt;
&lt;BR /&gt;
Suggestions?  Comments?</description>
    <pubDate>Mon, 25 Sep 2006 15:25:16 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-09-25T15:25:16Z</dc:date>
    <item>
      <title>SAS EG for production reporting</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1443#M450</link>
      <description>Anyone using EG for production reporting systems?  I'm very interested in any experiences and tips.&lt;BR /&gt;
&lt;BR /&gt;
Specifically, we're seeking to schedule daily, weekly, and hourly jobs on Windows XP server using EG as the primary development and data reviewing process.  We'll have about 1,000 different jobs to run over various schedules.&lt;BR /&gt;
&lt;BR /&gt;
Our data size is relatively small most of the time, 30 seconds and under to run.  Some are larger and take up to 10 minutes.&lt;BR /&gt;
&lt;BR /&gt;
We are most interested in audits, conditional starts (i.e. data occured in a certain range, run job A, otherwise run job B).&lt;BR /&gt;
&lt;BR /&gt;
Suggestions?  Comments?</description>
      <pubDate>Mon, 25 Sep 2006 15:25:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1443#M450</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-09-25T15:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG for production reporting</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1444#M451</link>
      <description>You cannot directly replace the functionality of regular SAS using EG. For instance, using EG, try this common control technique:&lt;BR /&gt;
&lt;BR /&gt;
data _null_ ;&lt;BR /&gt;
  if &amp;amp;sqlobs = '0' then abort abend 9 ;&lt;BR /&gt;
run ;&lt;BR /&gt;
&lt;BR /&gt;
There are other gotchas as well.</description>
      <pubDate>Tue, 26 Sep 2006 22:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1444#M451</guid>
      <dc:creator>Andrew_F</dc:creator>
      <dc:date>2006-09-26T22:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG for production reporting</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1445#M452</link>
      <description>I have spoken with customers about how they typically maintain such an environment.  It is different than straight batch SAS submission, but nearly as flexible but with some integration that EG offers that isn't in batch SAS.&lt;BR /&gt;
&lt;BR /&gt;
1) They put a central PC/high-end desktop in the data center that the main admins for SAS can remote desktop into.  This machine is always on and on a high speed network.&lt;BR /&gt;
&lt;BR /&gt;
2) They use the project scheduling capability in EG.  This is VB script based and leverages Windows AT (scheduler.)  Note- EG can also act as an OLE Automation client to be called from other apps if desired.&lt;BR /&gt;
&lt;BR /&gt;
3) People can customize the VB scripts for a variety of purposes.  For example, here is an example VB script to allow passing custom parameters into the project at run time (by Chris Hemedinger on our Dev Team):&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
Dim app&lt;BR /&gt;
Dim prjName&lt;BR /&gt;
Dim prjObject&lt;BR /&gt;
Dim parmList&lt;BR /&gt;
Dim parm&lt;BR /&gt;
&lt;BR /&gt;
prjName = "C:\temp\autowithparams.egp"    'Project Name&lt;BR /&gt;
&lt;BR /&gt;
' start the app and open the project      &lt;BR /&gt;
Set app = CreateObject("SASEGObjectModel.Application.4")&lt;BR /&gt;
Set prjObject = app.Open(prjName,"")&lt;BR /&gt;
&lt;BR /&gt;
' discover the parameters&lt;BR /&gt;
Set parmList = prjObject.Parameters&lt;BR /&gt;
Wscript.Echo "Project has " &amp;amp; parmList.Count &amp;amp; " parameters."&lt;BR /&gt;
&lt;BR /&gt;
' work with the first parameter&lt;BR /&gt;
Set parm = parmList.Item(0)&lt;BR /&gt;
WScript.Echo parm.Name &amp;amp; " parameter has default value of " &amp;amp; parm.DefaultValue&lt;BR /&gt;
parm.Value = "M"&lt;BR /&gt;
&lt;BR /&gt;
WScript.Echo parm.Name &amp;amp; " parameter has been set to value of " &amp;amp; parm.Value&lt;BR /&gt;
&lt;BR /&gt;
' run the project&lt;BR /&gt;
prjObject.Run&lt;BR /&gt;
&lt;BR /&gt;
WScript.Echo parm.Name &amp;amp; " parameter has been set after Run to value of " &amp;amp; parm.Value&lt;BR /&gt;
&lt;BR /&gt;
prjObject.Close&lt;BR /&gt;
app.Quit&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Also refer to &lt;A href="http://support.sas.com/techsup/unotes/SN/002/002696.html" target="_blank"&gt;http://support.sas.com/techsup/unotes/SN/002/002696.html&lt;/A&gt; and &lt;A href="http://support.sas.com/faq/045/FAQ04515.html" target="_blank"&gt;http://support.sas.com/faq/045/FAQ04515.html&lt;/A&gt; for more details.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Stephen</description>
      <pubDate>Wed, 27 Sep 2006 14:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1445#M452</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-09-27T14:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG for production reporting</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1446#M453</link>
      <description>Thansk Stephen!  Any other pointers?</description>
      <pubDate>Wed, 04 Oct 2006 19:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-for-production-reporting/m-p/1446#M453</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-10-04T19:33:25Z</dc:date>
    </item>
  </channel>
</rss>

