<?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: Autocall not working under EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22156#M3499</link>
    <description>Set the max diagnostics you can with:&lt;BR /&gt;
&lt;BR /&gt;
OPTIONS SOURCE SOURCE2 MACROGEN SYMBOLGEN MLOGIC;&lt;BR /&gt;
&lt;BR /&gt;
and go from there to diagnose the problem with your macro compilation, possibly.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Wed, 22 Apr 2009 19:18:05 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-04-22T19:18:05Z</dc:date>
    <item>
      <title>Autocall not working under EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22153#M3496</link>
      <description>I'm defining my autocall library as follows:&lt;BR /&gt;
&lt;BR /&gt;
filename sharemac '/home/sas/permanent/BI Group Shared Code';&lt;BR /&gt;
OPTIONS DATE NOCENTER OBS=MAX MAUTOSOURCE sasautos = (sasautos sharemac);&lt;BR /&gt;
&lt;BR /&gt;
There is a valid macro in the directory to which sharemac points named cutback_by_model_score.sas.  It's called by the same program having the statements above (which show no errors in the log, BTW).  This worked when I was using traditional (display manager) SAS, but when I run this call in EG I get:&lt;BR /&gt;
&lt;BR /&gt;
562      ! %cutback_by_model_score(OUT.&amp;amp;INPUT_SAS_DS,&amp;amp;SEG_ID,&amp;amp;TOT_SEG_TARG,&amp;amp;TREAT_TARG);&lt;BR /&gt;
           _&lt;BR /&gt;
           180&lt;BR /&gt;
MPRINT(CUTBACK_MANAGER):   * Macro call to cutback_by_model_score code;&lt;BR /&gt;
WARNING: Apparent invocation of macro CUTBACK_BY_MODEL_SCORE not resolved.&lt;BR /&gt;
MPRINT(CUTBACK_MANAGER):   %cutback_by_model_score(OUT.maillist,002,12300,.);&lt;BR /&gt;
&lt;BR /&gt;
ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;
&lt;BR /&gt;
If I open cutback_by_model_score.sas in EG and run it, the problem vanishes.  So it has to be something involved in using autocall under EG.  Can anyone help me fix what's wrong?&lt;BR /&gt;
&lt;BR /&gt;
TIA,&lt;BR /&gt;
Steve</description>
      <pubDate>Wed, 22 Apr 2009 15:33:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22153#M3496</guid>
      <dc:creator>Strange_Attractor</dc:creator>
      <dc:date>2009-04-22T15:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall not working under EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22154#M3497</link>
      <description>What OS?  Is there any other "working" SAS macro defined in the same directory/folder?  If so, compare how the complete files are named.  If not Windows, may want to verify the file extension, I believe.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 22 Apr 2009 15:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22154#M3497</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-04-22T15:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall not working under EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22155#M3498</link>
      <description>Thanks for the suggestions.&lt;BR /&gt;
&lt;BR /&gt;
The SAS server and the file system are in Linux.  The .sas extension is correct on all of the macros in the directory (dozens).  There are a few name styles (capitalized, mixed, or lower case, single words vs. multiple separated by underscores, etc.), but they all behave the same way.&lt;BR /&gt;
&lt;BR /&gt;
If I do an %include with the fully specified file name, they're fine, or if I open the code using EG and submit them first, the macro can be used in the same session.  None, however, can be found using the autocall facility.&lt;BR /&gt;
&lt;BR /&gt;
Steve</description>
      <pubDate>Wed, 22 Apr 2009 17:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22155#M3498</guid>
      <dc:creator>Strange_Attractor</dc:creator>
      <dc:date>2009-04-22T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall not working under EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22156#M3499</link>
      <description>Set the max diagnostics you can with:&lt;BR /&gt;
&lt;BR /&gt;
OPTIONS SOURCE SOURCE2 MACROGEN SYMBOLGEN MLOGIC;&lt;BR /&gt;
&lt;BR /&gt;
and go from there to diagnose the problem with your macro compilation, possibly.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 22 Apr 2009 19:18:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22156#M3499</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-04-22T19:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall not working under EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22157#M3500</link>
      <description>Where are you putting the autocall code?  That is, how are you telling EG where to look.  EG does not use autoexec.sas, it has it's own startup file (that changed in EG 4.2).</description>
      <pubDate>Wed, 22 Apr 2009 20:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22157#M3500</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-04-22T20:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall not working under EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22158#M3501</link>
      <description>It's part of the same job where the macro is invoked.  Both examples I gave in my initial post are from the same log.</description>
      <pubDate>Wed, 22 Apr 2009 20:52:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22158#M3501</guid>
      <dc:creator>Strange_Attractor</dc:creator>
      <dc:date>2009-04-22T20:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall not working under EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22159#M3502</link>
      <description>Suggest you add a PROC OPTIONS to detect and print the current SASAUTOS setting at the end of your SAS program in case it has been changed.  Some environment issue is causing your problem, in my experience.  Or consider using the following statement instead of PROC OPTIONS:&lt;BR /&gt;
&lt;BR /&gt;
%put %sysfunc(getoption(sasautos));&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 22 Apr 2009 22:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22159#M3502</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-04-22T22:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall not working under EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22160#M3503</link>
      <description>I verified sasautos was correct, then dug up the fexist function to check the filereff.  The problem all along was that the directory was named BI Group SAS Code, not BI Group Shared Code.  Once sharemac actually points to the real directory, everything works.  I'm pretty embarrassed!&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the help!&lt;BR /&gt;
&lt;BR /&gt;
Steve</description>
      <pubDate>Thu, 23 Apr 2009 13:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Autocall-not-working-under-EG/m-p/22160#M3503</guid>
      <dc:creator>Strange_Attractor</dc:creator>
      <dc:date>2009-04-23T13:11:53Z</dc:date>
    </item>
  </channel>
</rss>

